--- rpms/e-smith-LPRng/sme10/e-smith-LPRng.spec 2020/09/22 10:04:13 1.3 +++ rpms/e-smith-LPRng/sme10/e-smith-LPRng.spec 2020/11/12 17:00:21 1.4 @@ -1,16 +1,17 @@ -# $Id: e-smith-LPRng.spec,v 1.2 2016/05/12 21:07:16 vip-ire Exp $ +# $Id: e-smith-LPRng.spec,v 1.3 2020/09/22 10:04:13 michel Exp $ Summary: e-smith server and gateway - LPRng module %define name e-smith-LPRng Name: %{name} %define version 2.6.0 -%define release 3 +%define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz Patch0: %{name}-%{version}-bz11006_systemd.patch +Patch1: %{name}-%{version}-bz11006_systemd_bis.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Requires: e-smith-base, LPRng Requires: e-smith-lib >= 1.15.1-19 @@ -25,6 +26,10 @@ e-smith server and gateway software - LP Add printing features, using the LPRng package. %changelog +* Wed Nov 11 2020 Michel Begue 2.6.0-4.sme +- keep runit service for systemd [SME: 11006] +- fix update event name [SME: 11007] + * Sat Sep 05 2020 Michel Begue 2.6.0-3.sme - from service to systemd [SME: 11006] - add lpd-update event [SME: 11007] @@ -499,7 +504,7 @@ Add printing features, using the LPRng p merged configuration/services hash to esmith::cgi functions. -* Thu Oct 06 2000 Tony Clayton +* Fri Oct 06 2000 Tony Clayton - Fixed require dependency (was e-smith-lib >= 1.0-21) * Fri Oct 06 2000 Adrian Chung @@ -507,10 +512,10 @@ Add printing features, using the LPRng p for now in e-smith-base. - Added require dependency for e-smith-lib. -* Tue Oct 04 2000 Adrian Chung +* Wed Oct 04 2000 Adrian Chung - Changed restart action to use serviceControl(restart). -* Tue Oct 04 2000 Adrian Chung +* Wed Oct 04 2000 Adrian Chung - Changed so that templates are only expanded if service is enabled. * Tue Oct 03 2000 Charlie Brady @@ -550,6 +555,7 @@ Add printing features, using the LPRng p %prep %setup %patch0 -p1 +%patch1 -p1 %build perl createlinks @@ -557,9 +563,10 @@ perl createlinks %install rm -rf $RPM_BUILD_ROOT -(cd root ; find . -depth -print | egrep -v "var\/service" | cpio -dump $RPM_BUILD_ROOT) +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-%{release}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --file /var/service/lpd/run 'attr(0755,root,root)' \ > %{name}-%{version}-%{release}-filelist echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist @@ -571,4 +578,3 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-%{release}-filelist %defattr(-,root,root) -%attr(0755,root,root) /usr/lib/systemd/systemd-lpd