public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Enable hard dependencies for users and groups
@ 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 : c5835c3dc1ff511381487fdff94e5b40cf02a18f
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2025-01-13T09:14:15+02:00
Stats : +5/-14 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/c5835c3dc1ff511381487fdff94e5b40cf02a18f?branch=pmatilai-v6
Log:
Enable hard dependencies for users and groups
This is being done as a part of
https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers
but is the right thing to do in any case: users and groups HAVE TO
be present before files can be owned by those entities, otherwise
things are broken. So even if the sysusers integration enablement got
postponed or something, this remains the right thing to do and should
not be reverted.
---
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 699ce77..d497b31 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -28,7 +28,7 @@
%global rpmver 4.20.0
#global snapver rc1
-%global baserelease 4
+%global baserelease 5
%global sover 10
%global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -126,7 +126,6 @@ rpm-4.9.90-no-man-dirs.patch
# Disable new user/group handling
rpm-4.18.92-disable-sysusers.patch
-rpm-4.19.91-weak-user-group.patch
# Temporarily disable the deprecation warning for
# %%clamp_mtime_to_source_date_epoch, details here:
@@ -624,6 +623,10 @@ fi
%doc %{_defaultdocdir}/rpm/API/
%changelog
+* Mon Jan 10 2025 Panu Matilainen <pmatilai@redhat.com> - 4.20.0-5
+- Enable hard dependencies for users and groups as a part of
+ https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers
+
* Fri Jan 10 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.20.0-4
- Merge /usr/sbin and /usr/bin (2nd attempt)
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
^ 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: Enable hard dependencies for users and groups Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox