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: Re-enable hard user/group dependencies again
Date: Mon, 23 Nov 2026 09:35:53 GMT	[thread overview]
Message-ID: <179542655330.1.12185750707630296266.rpms-rpm-b15d7caa0cbf@fedoraproject.org> (raw)

            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
 

                 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=179542655330.1.12185750707630296266.rpms-rpm-b15d7caa0cbf@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