X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc.spec;h=28066237a78eb1ac5d515b5ebcae0a7486f0fd81;hb=4cef883d78f5efb6fe66a4a9404946e35aebb47f;hp=c33564ba30b3377dda1e7caee61d50bef3bce5aa;hpb=3bc4ba74a32c86ea10e6c4a2d1a5709f6178e3bb;p=myplc.git diff --git a/myplc.spec b/myplc.spec index c33564b..2806623 100644 --- a/myplc.spec +++ b/myplc.spec @@ -1,6 +1,6 @@ %define name myplc %define version 5.3 -%define taglevel 1 +%define taglevel 4 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) @@ -57,6 +57,10 @@ Requires: cronie %if "%{distro}" == "Fedora" && %{distrorelease} >= 16 Requires: rpm-sign %endif +# starting with f27 we depend on this new rpm +%if "%{distro}" == "Fedora" && %{distrorelease} >= 27 +Requires: php-fpm +%endif # planetlab stuff Requires: bootmanager @@ -202,6 +206,11 @@ if [ -x /sbin/chkconfig ] ; then /sbin/chkconfig plc on fi +%if "%{distro}" == "Fedora" && %{distrorelease} >= 27 +systemctl enable php-fpm +systemctl start php-fpm +%endif + %triggerpostun -- %{name} # 0 = erase, 1 = upgrade if [ $1 -gt 0 ] ; then @@ -261,6 +270,16 @@ fi %changelog +* Sun Jul 16 2017 Thierry Parmentelat - myplc-5.3-4 +- takes care of creating plcapi log file + +* Wed Feb 18 2015 Thierry Parmentelat - myplc-5.3-3 +- tweaked renew_reminder for federation + +* Fri Mar 21 2014 Thierry Parmentelat - myplc-5.3-2 +- tweaks in check-hrns.py +- do not require PyXML any more + * Tue Dec 10 2013 Thierry Parmentelat - myplc-5.3-1 - review check-hrns for plcapi-5.3 - add PLC_HRN_ROOT in usual plc-config-tty's settings