diff --git a/ulogd.spec b/ulogd.spec index 4b04421..58bdb94 100644 --- a/ulogd.spec +++ b/ulogd.spec @@ -1,7 +1,7 @@ Summary: Userspace logging daemon for netfilter Name: ulogd Version: 2.0.7 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://www.netfilter.org/projects/%{name}/ @@ -106,7 +106,9 @@ firewall information into an SQLITE database. %{__mkdir_p} -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d/ %{__install} -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} +%{__mkdir_p} -m 0755 %{buildroot}/usr/lib/systemd/system/ %{__install} -m 0644 %{SOURCE4} %{buildroot}/usr/lib/systemd/system/%{name}.service +%{__mkdir_p} -m 0755 %{buildroot}/usr/lib/tmpfiles.d/ %{__install} -m 0644 %{SOURCE5} %{buildroot}/usr/lib/tmpfiles.d/%{name}.conf %post @@ -139,6 +141,8 @@ firewall information into an SQLITE database. %exclude %{_libdir}/%{name}/%{name}_output_PGSQL.so %exclude %{_libdir}/%{name}/%{name}_output_PCAP.so %exclude %{_libdir}/%{name}/%{name}_output_SQLITE3.so +/usr/lib/tmpfiles.d/%{name}.conf +/usr/lib/systemd/system/%{name}.service %files libdbi %defattr(0755,root,root,0755) @@ -171,7 +175,7 @@ firewall information into an SQLITE database. %doc COPYING %changelog -* Wed Apr 17 2024 Jean-Philippe Pialasse 2.0.7-2.sme +* Wed Apr 17 2024 Jean-Philippe Pialasse 2.0.7-3.sme - adding systemd service file and run config [SME: 12538] remove scriptlet for sysvinit, leave integrator enabling service