X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa.spec;h=41318d354480a732189726dd6a429780f3b66ac0;hb=0e37e8101b03f6c9fde4bfcb4287d6f5c6aedb50;hp=65c31904fd7e59ce8add897d0b659aa1659909f2;hpb=10b6e7e82a46159e9ce8f320a61252d090114f7e;p=sfa.git diff --git a/sfa.spec b/sfa.spec index 65c31904..41318d35 100644 --- a/sfa.spec +++ b/sfa.spec @@ -1,6 +1,6 @@ %define name sfa %define version 4.0 -%define taglevel 1 +%define taglevel 2 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) @@ -198,6 +198,7 @@ rm -rf $RPM_BUILD_ROOT %post systemctl enable sfa-aggregate systemctl enable sfa-registry +true %preun if [ "$1" = 0 ] ; then @@ -206,6 +207,7 @@ if [ "$1" = 0 ] ; then systemctl is-active $service && systemctl stop $service done fi +true %postun if [ "$1" -ge "1" ] ; then @@ -213,8 +215,18 @@ if [ "$1" -ge "1" ] ; then systemctl is-active $service && systemctl restart $service done fi +true %changelog +* Mon Jan 07 2019 Thierry - sfa-4.0-2 +- have shebangs mention python2 since it is what this version runs on +- use rpm names in python2-something for expressing dependencies +- remove build dependency to python-setuptools +- Handle C-BAS hrn format with "\" (Loic) +- sfa-start does not daemonize anymore (this is handled by systemd) +- a little nicer logs when troubleshooting auth issues +- use systemctl in Makefile when syncing + * Wed May 30 2018 Thierry - sfa-4.0-1 - systemd service files install in /lib instead of /usr/lib for ubuntus - removed all features relating to slice manager