--- rpms/e-smith-lib/sme10/e-smith-lib.spec 2021/01/01 23:22:03 1.13 +++ rpms/e-smith-lib/sme10/e-smith-lib.spec 2021/10/28 04:13:03 1.17 @@ -1,10 +1,12 @@ -# $Id: e-smith-lib.spec,v 1.12 2020/11/26 18:02:12 jpp Exp $ +# $Id: e-smith-lib.spec,v 1.16 2021/04/20 03:25:45 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 12 +%define release 15 Version: %{version} Release: %{release}%{?dist} License: Artistic @@ -18,6 +20,8 @@ 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 +Patch9: e-smith-lib-2.6.0-bz11723.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -38,6 +42,17 @@ Requires: pciutils e-smith server and gateway software - library module. %changelog +* Thu Oct 28 2021 Jean-Philippe Pialasse 2.6.0-15.sme +- add support for service with instances [SME: 11723] + +* 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 @@ -864,7 +879,8 @@ e-smith server and gateway software - li # 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 +%patch9 -p1 %pre @@ -877,6 +893,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