--- rpms/e-smith-lib/sme10/e-smith-lib.spec 2019/12/12 06:57:41 1.10 +++ 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.9 2017/10/25 07:18:48 vip-ire 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 9 +%define release 14 Version: %{version} Release: %{release}%{?dist} License: Artistic @@ -16,6 +18,9 @@ Patch2: e-smith-lib-2.6.0.bz9691.syslof. Patch3: e-smith-lib-2.6.0.bz9585.fix_startup_display.patch 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 @@ -36,6 +41,28 @@ 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 + handle unsupervised services the same way supervised were in adjust-services +- create e-smith-lib-event [SME: 11141] + * Thu Dec 12 2019 Jean-Philipe Pialasse 2.6.0-9.sme - add support for systemctl reload-or-restart, try-restart, enable -now [SME: 10848] @@ -844,6 +871,11 @@ e-smith server and gateway software - li %patch3 -p1 %patch4 -p1 %patch5 -p1 +%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 @@ -856,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