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 native user/group provide generation for the sysusers feature
Date: Mon, 23 Nov 2026 09:34:57 GMT	[thread overview]
Message-ID: <179542649725.1.7461049085494398187.rpms-rpm-36cb2f2b436f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 36cb2f2b436f079d3345d95421c2acfb450cea7a
            Author : Panu Matilainen <pmatilai@redhat.com>
            Date   : 2023-06-21T12:59:13+03:00
            Stats  : +5/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/36cb2f2b436f079d3345d95421c2acfb450cea7a?branch=pmatilai-v6

            Log:
            Enable native user/group provide generation for the sysusers feature

Currently systemd has it's own conflicting user/group provide generation
but we need the rpm one for the sysuser integration. This must not
proceed before https://src.fedoraproject.org/rpms/systemd/pull-request/109
is merged + built because this involves a file-level conflict.

Note that this does NOT enable the sysuser integration in rpm, merely
the provides generation, but doing so will allow people to begin testing
the actual integration.

---
diff --git a/rpm.spec b/rpm.spec
index ff85e80..4100c2c 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -57,6 +57,7 @@ License: GPLv2+
 Requires: coreutils
 Requires: popt%{_isa} >= 1.10.2.1
 Requires: curl
+Conflicts: systemd < systemd-253.5-5.fc39
 Obsoletes: python2-rpm < %{version}-%{release}
 
 %if %{with check}
@@ -386,11 +387,6 @@ cmake \
 %install
 cd _build
 %make_install
-
-# temporarily remove useser handling fileattr
-# as it is currently in systemd-rpm-macros
-rm $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/sysusers.attr
-
 cd ..
 
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
@@ -624,6 +620,10 @@ fi
 %doc %{_defaultdocdir}/rpm/API/
 
 %changelog
+* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
+- Enable user/group provide generation
+- Add a conflict for systemd versions carrying their own
+
 * Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
 - Rebuilt for Python 3.12
 

                 reply	other threads:[~2026-11-23  9:34 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=179542649725.1.7461049085494398187.rpms-rpm-36cb2f2b436f@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