diff --git a/bsd-games.spec b/bsd-games.spec index 47e534b..df28236 100644 --- a/bsd-games.spec +++ b/bsd-games.spec @@ -6,7 +6,7 @@ Summary: Collection of text-based games Name: bsd-games Version: 2.17 -Release: 79%{?dist} +Release: 82%{?dist} # Automatically converted from old format: BSD and BSD with advertising - review is highly recommended. License: LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising URL: ftp://metalab.unc.edu/pub/Linux/games/ @@ -57,7 +57,6 @@ BuildRequires: libfl-static BuildRequires: flex-devel %endif BuildRequires: bison -Requires(pre): shadow-utils %description Bsd-games includes adventure, arithmetic, atc, backgammon, battlestar, @@ -99,6 +98,13 @@ popd %patch -P26 -p1 -b .atc %patch -P27 -p1 -b .fread_chk +# Create a sysusers.d config file +cat >bsd-games.sysusers.conf </dev/null || groupadd -r $group -done -exit 0 +install -m0644 -D bsd-games.sysusers.conf %{buildroot}%{_sysusersdir}/bsd-games.conf %files %{_bindir}/adventure @@ -224,8 +226,18 @@ exit 0 %config(noreplace) %attr(664,root,games) %{_var}/games/snakerawscores %config(noreplace) %attr(664,root,games) %{_var}/games/bsd-fbg.scores %doc AUTHORS COPYING ChangeLog ChangeLog.0 THANKS YEAR2000 README.hunt trek/USD.doc/trek.me +%{_sysusersdir}/bsd-games.conf %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 2.17-82 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jan 23 2025 Zbigniew Jędrzejewski-Szmek - 2.17-81 +- Add sysusers.d config file to allow rpm to create users/groups automatically + +* Thu Jan 16 2025 Fedora Release Engineering - 2.17-80 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Nov 27 2024 Sérgio Basto - 2.17-79 - Add boggle_fread_chk.patch