X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc.spec;h=d2a6cbed9748586e24f1ec1ee6b7acd64c10e94d;hb=e1240d0744adde1f0421e3eeb15227ce5d3f2e19;hp=1c7287054e9754839ffc0fe69240570783626772;hpb=8f1ee0a32ee3df0866931582fd601d97d52d2fd6;p=myplc.git diff --git a/myplc.spec b/myplc.spec index 1c72870..d2a6cbe 100644 --- a/myplc.spec +++ b/myplc.spec @@ -1,6 +1,6 @@ %define name myplc -%define version 5.0 -%define taglevel 19 +%define version 5.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)" ) @@ -66,7 +66,7 @@ Requires: www-register-wizard Requires: nodeconfig Requires: nodeyum Requires: PLCAPI -Requires: bootstrapfs-%{nodefamily} +Requires: nodeimage-%{nodefamily} Requires: myplc-docs Requires: myplc-release Requires: myplc-config @@ -109,11 +109,13 @@ install -D -m 755 plc_config.py ${RPM_BUILD_ROOT}/${PYTHON_SITEARCH}/plc_config. echo "* Installing scripts in /usr/bin" mkdir -p ${RPM_BUILD_ROOT}/usr/bin rsync -av --exclude .svn bin/ ${RPM_BUILD_ROOT}/usr/bin/ +(cd $RPM_BUILD_ROOT/usr/bin; ln -s mtail.py mtail) chmod 755 ${RPM_BUILD_ROOT}/usr/bin/* # Install initscript echo "* Installing plc initscript" install -D -m 755 plc.init ${RPM_BUILD_ROOT}/etc/init.d/plc +install -D -m 644 plc.service ${RPM_BUILD_ROOT}/lib/systemd/system/plc.service # Install initscripts echo "* Installing plc.d initscripts" @@ -233,13 +235,16 @@ fi /usr/bin/dns-config /usr/bin/refresh-peer.py* /usr/bin/mtail.py* +/usr/bin/mtail /usr/bin/plc-map.py* /usr/bin/plc-kml.py* /usr/bin/clean-empty-dirs.py* /usr/bin/plc-check-ssl-peering.py* /usr/bin/plc-orphan-accounts.py* /usr/bin/spot-aliens.py* +/usr/bin/check-hrns.py* /usr/bin/spot-dup-accounts.sh +/lib/systemd/system/plc.service %files config %defattr(-,root,root,-) @@ -248,6 +253,22 @@ fi %changelog +* Fri Aug 31 2012 Thierry Parmentelat - myplc-5.1-4 +- set TimeoutSec to 300 in plc.service +- remove ref to deprecated svn $URL$ in db-config usage + +* Mon Jul 09 2012 Thierry Parmentelat - myplc-5.1-3 +- expose mtail.py as simply mtail + +* Mon May 07 2012 Thierry Parmentelat - myplc-5.1-2 +- plc-kml.py now has support for nodegroups + +* Mon Apr 16 2012 Thierry Parmentelat - myplc-5.1-1 +- use nodeimage package instead of deprecated bootstrapfs +- has systemd-friendly startup script +- plc_reload moved to functions/ - no more service plc reload +- no svn keywords anymore + * Mon Sep 26 2011 Thierry Parmentelat - myplc-5.0-19 - new maintenance/monitoring script spot-aliens to look for glitches in refreshpeer+sfa