From 8fc1a36d112d1bf8c654c9aa251fcb5055cbb437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 15:53:24 +0100 Subject: [PATCH 1/3] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. --- newscache.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/newscache.spec b/newscache.spec index 180b6a8..3b0c780 100644 --- a/newscache.spec +++ b/newscache.spec @@ -4,7 +4,7 @@ Name: newscache Summary: Free cache server for USENET News Version: 1.2 -Release: 0.50.rc6%{?dist} +Release: 0.51.rc6%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: http://www.linuxhacker.at/newscache/ @@ -22,7 +22,6 @@ BuildRequires: gcc-c++ BuildRequires: libtool, texinfo, pam-devel BuildRequires: systemd-units -Requires(pre): shadow-utils Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units @@ -58,6 +57,11 @@ popd %patch -P4 -p1 +# Create a sysusers.d config file +cat >newscache.sysusers.conf </dev/null || groupadd -r news -getent passwd news >/dev/null || \ - useradd -r -g news -d /etc/news -s /sbin/nologin -c 'News user' news -exit 0 %post @@ -156,9 +156,13 @@ exit 0 %doc AUTHORS COPYING NEWS README THANKS TODO %doc doc/newscache*.txt etc/*-dist %{_mandir}/*/* +%{_sysusersdir}/newscache.conf %changelog +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.2-0.51.rc6 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Sat Feb 01 2025 Björn Esser - 1.2-0.50.rc6 - Add explicit BR: libxcrypt-devel From d2a5a5e7573d317065da058b967013d5995024ba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 22:47:37 +0000 Subject: [PATCH 2/3] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- newscache.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/newscache.spec b/newscache.spec index 3b0c780..1643ffb 100644 --- a/newscache.spec +++ b/newscache.spec @@ -4,7 +4,7 @@ Name: newscache Summary: Free cache server for USENET News Version: 1.2 -Release: 0.51.rc6%{?dist} +Release: 0.52.rc6%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: http://www.linuxhacker.at/newscache/ @@ -160,6 +160,9 @@ install -m0644 -D newscache.sysusers.conf %{buildroot}%{_sysusersdir}/newscache. %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 1.2-0.52.rc6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.2-0.51.rc6 - Add sysusers.d config file to allow rpm to create users/groups automatically From dc752c0b5f58a313356dab316cf084a0fa93154c Mon Sep 17 00:00:00 2001 From: Dmitry Butskoy Date: Sat, 4 Oct 2025 12:32:18 +0300 Subject: [PATCH 3/3] Update URL --- newscache.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/newscache.spec b/newscache.spec index 1643ffb..6fb3ab2 100644 --- a/newscache.spec +++ b/newscache.spec @@ -4,10 +4,10 @@ Name: newscache Summary: Free cache server for USENET News Version: 1.2 -Release: 0.52.rc6%{?dist} +Release: 0.53.rc6%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later -URL: http://www.linuxhacker.at/newscache/ +URL: https://github.com/hstraub/NewsCache Source0: http://src.linuxhacker.at/NewsCache/%{srcnamever}.tar.gz Source1: http://src.linuxhacker.at/socket++/socket++-%{socketver}.tar.gz Source2: %{name}.init @@ -160,6 +160,9 @@ install -m0644 -D newscache.sysusers.conf %{buildroot}%{_sysusersdir}/newscache. %changelog +* Sat Oct 4 2025 Dmitry Butskoy - 1.2-0.53.rc6 +- update URL (#2401403) + * Thu Jul 24 2025 Fedora Release Engineering - 1.2-0.52.rc6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild