X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc.spec;h=2a83e943e3643f2477dfb5482e4b5b65a3320cef;hb=299019012406c0d045b1529b6ec551959edb9728;hp=0b017d654cd70bee514ef254452546adc2baee33;hpb=b443b91573fbc6507865662d17815d4796f16489;p=myplc.git diff --git a/myplc.spec b/myplc.spec index 0b017d6..2a83e94 100644 --- a/myplc.spec +++ b/myplc.spec @@ -5,9 +5,10 @@ %define name myplc %define version 4.3 -%define taglevel 36 +%define taglevel 38 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) Name: %{name} Version: %{version} @@ -40,7 +41,6 @@ Requires: php-pgsql Requires: curl Requires: rsync Requires: python-devel -Requires: vixie-cron Requires: yum Requires: PyXML Requires: createrepo @@ -55,6 +55,11 @@ Requires: vim-minimal Requires: findutils Requires: xmlsec1 Requires: xmlsec1-openssl +%if "%{distro}" == "Fedora" && %{distrorelease} >= 10 +Requires: cronie +%else +Requires: vixie-cron +%endif # planetlab stuff Requires: bootmanager Requires: bootcd-%{pldistro}-%{_arch} @@ -161,10 +166,6 @@ if [ -x /sbin/chkconfig ] ; then /sbin/chkconfig --add plc /sbin/chkconfig plc on fi -pushd /usr/share/myplc &> /dev/null -python plc_config.py build -python plc_config.py install -popd &> /dev/null %triggerpostun -- %{name} # 0 = erase, 1 = upgrade @@ -215,10 +216,19 @@ fi %files config %defattr(-,root,root,-) /usr/bin/plc-config -/usr/share/myplc/plc_config.py* +%{python_sitearch}/plc_config.py* %changelog +* Thu Jul 22 2010 Daniel Hokka Zakrisson - myplc-4.3-38 +- Add DRL slice. +- Generalize bootcd-kernel. + +* Sat Jan 09 2010 Thierry Parmentelat - MyPLC-4.3-37 +- support for fedora 12 +- new package myplc-config for use by sfa +- drupal user registration turned off + * Thu Dec 31 2009 Marc Fiuczynski - MyPLC-4.3-36 - - fix to make sure when API, BOOT, MONITOR are on the same - machine as WWW that the SSL key,cert for WWW takes precedence.