public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Enable hard dependencies for users and groups
Date: Mon, 23 Nov 2026 09:35:47 GMT [thread overview]
Message-ID: <179542654760.1.3088712323552161105.rpms-rpm-c5835c3dc1ff@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-23 9:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542654760.1.3088712323552161105.rpms-rpm-c5835c3dc1ff@fedoraproject.org \
--to=pmatilai@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox