--- rpms/e-smith-lib/sme10/e-smith-lib.spec 2020/11/17 16:48:09 1.11 +++ rpms/e-smith-lib/sme10/e-smith-lib.spec 2021/04/20 03:25:45 1.16 @@ -1,10 +1,12 @@ -# $Id: e-smith-lib.spec,v 1.10 2019/12/12 06:57:41 jpp Exp $ +# $Id: e-smith-lib.spec,v 1.15 2021/04/20 03:22:26 jpp Exp $ + +%define copykooz 2013-2021 Summary: e-smith server and gateway - library module %define name e-smith-lib Name: %{name} %define version 2.6.0 -%define release 10 +%define release 14 Version: %{version} Release: %{release}%{?dist} License: Artistic @@ -17,6 +19,8 @@ Patch3: e-smith-lib-2.6.0.bz9585.fix_sta Patch4: e-smith-lib-2.6.0.bz9478.patch Patch5: e-smith-lib-2.6.0.bz10848.systemctl-reload-or-restart.patch Patch6: e-smith-lib-2.6.0-bz11177-systemd.patch +Patch7: e-smith-lib-2.6.0-bz11177-signals.patch +Patch8: e-smith-lib-2.6.0-bz11570-copyrights.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -37,6 +41,22 @@ Requires: pciutils e-smith server and gateway software - library module. %changelog +* Mon Apr 19 2021 Jean-Philippe Pialasse 2.6.0-14.sme +- update copyright dates, and make it easier to change from spec file [SME: 11570] + +* Sat Jan 02 2021 Jean-Philipe Pialasse 2.6.0-13.sme +- partial revert of signals [SME: 11177] + signal s not passed to runit services (dnscache*, qmail, qpsmtpd...) + services handled by systemd crash if they do not have Restart=always defined + +* Fri Jan 01 2021 Jean-Philipe Pialasse 2.6.0-12.sme +- add support for signals SIG* with systemd [SME: 11177] + fix typo for reload-or-try-restart + unsupervised services: really stop when disabled and start stopped enabled ones + +* Thu Nov 26 2020 Jean-Philipe Pialasse 2.6.0-11.sme +- remove error when sending sighup event [SME: 11177] + * Tue Nov 17 2020 Jean-Philipe Pialasse 2.6.0-10.sme - allow more systemctl controls [SME: 11177] convert unrecognized signals from service2adjust in events for systemd @@ -854,6 +874,8 @@ e-smith server and gateway software - li %patch6 -p1 # creating an event that do nothing. db init is done every time by yum already. mkdir root/etc/e-smith/events/e-smith-lib-update +%patch7 -p1 +%patch8 -p1 %pre @@ -866,6 +888,7 @@ do mkdir -p root/etc/e-smith/events/$event done perl createlinks +find root/ -type f | xargs grep -l ____COPYYEARS____ | xargs sed -i -e 's/____COPYYEARS____/%{copykooz}/g' %install rm -rf $RPM_BUILD_ROOT