diff --git a/sqlgrey.spec b/sqlgrey.spec index c87372b..f8b9ea6 100644 --- a/sqlgrey.spec +++ b/sqlgrey.spec @@ -1,6 +1,6 @@ Name: sqlgrey Version: 1.8.0 -Release: 31%{?dist} +Release: 33%{?dist} Summary: Postfix grey-listing policy service # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -13,7 +13,6 @@ BuildArch: noarch Requires: postfix Requires: perl(DBD::SQLite) -Requires(pre): shadow-utils Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -34,6 +33,11 @@ to 90% of junk mails (spam and virus) before they reach your Postfix server %patch -P0 -p1 %patch -P1 -p1 +# Create a sysusers.d config file +cat >sqlgrey.sysusers.conf </dev/null || groupadd -r sqlgrey -getent passwd sqlgrey >/dev/null || \ - useradd -r -g sqlgrey -d /var/lib/sqlgrey -s /sbin/nologin \ - -c "SQLgrey server" sqlgrey -exit 0 %post %systemd_post sqlgrey.service @@ -81,6 +82,12 @@ exit 0 %systemd_postun_with_restart sqlgrey.service %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.8.0-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.8.0-32 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Sat Feb 08 2025 Kevin Fenzi - 1.8.0-31 - Adjust to sbin/bin consolidation. Fixes FTBFS rhbz#2341376