2009-09-17 10:54:09 +02:00
|
|
|
include version
|
|
|
|
default:
|
|
|
|
rm *.rpm *.tar.gz 2> /dev/null ;\
|
2009-09-17 11:40:44 +02:00
|
|
|
VERSION=$(VERSION) epm -a noarch -m noarch irpf90 irpf90.list ;\
|
2009-09-17 10:54:09 +02:00
|
|
|
cd noarch ;\
|
|
|
|
cp ~/.rpmmacros .;\
|
|
|
|
echo "%_topdir $$PWD" > ~/.rpmmacros ;\
|
|
|
|
echo "%buildroot %_topdir/buildroot" >> ~/.rpmmacros ;\
|
|
|
|
cd ..;\
|
2009-09-17 11:40:44 +02:00
|
|
|
VERSION=$(VERSION) epm -a noarch -m noarch -vv -f rpm irpf90 irpf90.list ;\
|
2009-09-17 10:54:09 +02:00
|
|
|
cp noarch/.rpmmacros ~;\
|
|
|
|
mv noarch/*.tar.gz . ;\
|
|
|
|
mv noarch/*.rpm . ;\
|
|
|
|
rm -rf noarch
|
|
|
|
|
|
|
|
version: ../src/version.py
|
|
|
|
./make_version.py > version
|