diff --git a/spampd.spec b/spampd.spec index 5936b98..af693b9 100644 --- a/spampd.spec +++ b/spampd.spec @@ -1,7 +1,7 @@ Summary: Transparent SMTP/LMTP proxy filter using spamassassin Name: spampd Version: 2.61 -Release: 13%{?dist} +Release: 10%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm @@ -19,6 +19,7 @@ BuildRequires: systemd-units Requires: perl(Net::Server) +Requires(pre): /usr/sbin/useradd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -42,11 +43,6 @@ indicating it's spam and why. %{__chmod} -x changelog.txt %{__cp} %{SOURCE2} . -# Create a sysusers.d config file -cat >spampd.sysusers.conf </dev/null || : %post %systemd_post spampd.service @@ -91,19 +88,9 @@ install -m0644 -D spampd.sysusers.conf %{buildroot}%{_sysusersdir}/spampd.conf %{_sbindir}/spampd %{_mandir}/man8/spampd.8* %attr(0750,spampd,spampd) /var/spool/spampd -%{_sysusersdir}/spampd.conf %changelog -* Fri Jul 25 2025 Fedora Release Engineering - 2.61-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 2.61-12 -- Add sysusers.d config file to allow rpm to create users/groups automatically - -* Sun Jan 19 2025 Fedora Release Engineering - 2.61-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - * Fri Jul 26 2024 Miroslav Suchý - 2.61-10 - convert license to SPDX