public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Re-enable hard user/group dependencies again
@ 2026-11-23  9:35 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : b15d7caa0cbf57d29b27d581e7746265a96ed295
            Author : Panu Matilainen <pmatilai@redhat.com>
            Date   : 2025-03-31T09:21:04+00:00
            Stats  : +5/-14 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/b15d7caa0cbf57d29b27d581e7746265a96ed295?branch=pmatilai-v6

            Log:
            Re-enable hard user/group dependencies again

Now that all/most of the distro has been converted to sysusers
(thanks zbyszek!) from the old ways, reintroducing this shouldn't
cause breakage.

---
diff --git a/rpm-4.19.91-weak-user-group.patch b/rpm-4.19.91-weak-user-group.patch
deleted file mode 100644
index 66a9a33..0000000
--- a/rpm-4.19.91-weak-user-group.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up rpm-4.19.91/macros.in.orig rpm-4.19.91/macros.in
---- rpm-4.19.91/macros.in.orig	2024-05-21 09:33:40.708581108 +0200
-+++ rpm-4.19.91/macros.in	2024-05-21 09:33:43.074568189 +0200
-@@ -246,7 +246,7 @@ Supplements:   (%{name} = %{version}-%{r
- #%build_mtime_policy
- 
- #	If enabled, dilute user() and group() requires into recommends
--#%_use_weak_usergroup_deps 1
-+%_use_weak_usergroup_deps 1
- 
- #	The directory where newly built binary packages will be written.
- %_rpmdir		%{_topdir}/RPMS

diff --git a/rpm.spec b/rpm.spec
index ad451db..ec37e9f 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -26,7 +26,7 @@
 
 %global rpmver 4.20.1
 #global snapver rc1
-%global baserelease 1
+%global baserelease 2
 %global sover 10
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -122,7 +122,6 @@ rpm-4.9.90-no-man-dirs.patch
 
 # Use systemd-sysusers due to https://github.com/shadow-maint/shadow/issues/940
 rpm-4.20-sysusers.patch
-rpm-4.19.91-weak-user-group.patch
 
 # Temporarily disable the deprecation warning for
 # %%clamp_mtime_to_source_date_epoch, details here:
@@ -625,6 +624,10 @@ fi
 %doc %{_defaultdocdir}/rpm/API/
 
 %changelog
+* Mon Mar 31 2025 Panu Matilainen <pmatilai@redhat.com> - 4.20.1-2
+- Re-enable hard dependencies for users and groups as a part of
+  https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers
+
 * Wed Feb 26 2025 Michal Domonkos <mdomonko@redhat.com> - 4.20.1-1
 - Rebase to 4.20.1
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:35 [rpms/rpm] pmatilai-v6: Re-enable hard user/group dependencies again Panu Matilainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox