X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=geniwrapper.spec;h=7ce6485286d70a01a35062e0681b06a125cb82bc;hb=eb10b17ab73f5cd252ae5bbc2d0783141b6fff08;hp=469ed7669614e7c8ce35c3a0e87e32a1139f51e0;hpb=4d443ee4cc8d4fba4d5fd23e30c167e4370441fb;p=sfa.git diff --git a/geniwrapper.spec b/geniwrapper.spec index 469ed766..7ce64852 100644 --- a/geniwrapper.spec +++ b/geniwrapper.spec @@ -3,7 +3,7 @@ %define name geniwrapper %define version 0.2 -%define taglevel 1 +%define taglevel 3 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) @@ -43,24 +43,27 @@ make rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" +# hack to add installed files to the package +python -c "print '\n'.join(['%s*'%i.strip() for i in open('GENI_INSTALLED_FILES').readlines() if not i.strip().endswith('.pyc')])" |uniq > GENI_INSTALLED_FILES.all + + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f GENI_INSTALLED_FILES.all %defattr(-,root,root) -/etc/init.d/geniwrapper -/etc/geni -/usr/bin/geni-config-tty -/usr/bin/gimport.py* -/usr/bin/plc.py* -/usr/bin/sfi.py* -%(python -c "from distutils.sysconfig import get_python_lib(1); print get_python_lib()")/geni /usr/share/keyconvert %post chmod 0744 /etc/init.d/geniwrapper %changelog +* Wed Jun 03 2009 Thierry Parmentelat - geniwrapper-0.2-3 +- various fixes + +* Sat May 30 2009 Thierry Parmentelat - geniwrapper-0.2-2 +- bugfixes - still a work in progress + * Fri May 18 2009 Baris Metin - initial package