X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc.spec;h=28066237a78eb1ac5d515b5ebcae0a7486f0fd81;hb=2bc14d8dc246725d040c119348991a8e2dc24b84;hp=9078791350d11d8bcdcc81ad5cc4feb5ff188af8;hpb=27c56d7b93628652c06f440cce0d25352260862e;p=myplc.git diff --git a/myplc.spec b/myplc.spec index 9078791..2806623 100644 --- a/myplc.spec +++ b/myplc.spec @@ -1,6 +1,6 @@ %define name myplc %define version 5.3 -%define taglevel 3 +%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,9 @@ 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