public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Revert "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 : 8a4fe0b198874718abf8345ac2f768980d555b7d
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2025-01-15T13:37:29+02:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/8a4fe0b198874718abf8345ac2f768980d555b7d?branch=pmatilai-v6
Log:
Revert "Enable hard dependencies for users and groups"
I was somehow under the impression that most of Fedora is already using
sysusers.d based user/group creation. I don't know where that idea came
from but there certainly are a LOT of packages still using manual
useradd/groupadd that would break with this change. Revert for now
and rethink.
This reverts commit c5835c3dc1ff511381487fdff94e5b40cf02a18f.
---
diff --git a/rpm-4.19.91-weak-user-group.patch b/rpm-4.19.91-weak-user-group.patch
new file mode 100644
index 0000000..66a9a33
--- /dev/null
+++ b/rpm-4.19.91-weak-user-group.patch
@@ -0,0 +1,12 @@
+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 9fa4d79..4d9d5d8 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -28,7 +28,7 @@
%global rpmver 4.20.0
#global snapver rc1
-%global baserelease 5
+%global baserelease 6
%global sover 10
%global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -126,6 +126,7 @@ 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:
@@ -623,6 +624,9 @@ fi
%doc %{_defaultdocdir}/rpm/API/
%changelog
+* Wed Jan 15 2025 Panu Matilainen <pamtilai@redhat.com> - 4.20.0-6
+- Revert back to weak dependencies for users and groups
+
* Mon Jan 13 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
^ 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: Revert "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