public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] rawhide: Print the build status also in %build
Date: Tue, 07 Jul 2026 07:28:44 GMT	[thread overview]
Message-ID: <178340932411.1.16729244788211589495.rpms-systemd-034fa693f2da@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/systemd
            Branch : rawhide
            Commit : 034fa693f2da8a0f9ea261128cc81654a8be905f
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-07-07T09:13:58+02:00
            Stats  : +7/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/systemd/c/034fa693f2da8a0f9ea261128cc81654a8be905f?branch=rawhide

            Log:
            Print the build status also in %build

%prep is not executed in no-prep builds which we use with
mkosi.

[skip changelog]

---
diff --git a/systemd.spec b/systemd.spec
index 36dff93..2fd1dd9 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -134,13 +134,6 @@ Source25:       98-default-mac-none.link
 
 Source26:       systemd-user
 
-%if 0%{?fedora} < 40 && 0%{?rhel} < 10
-# Work-around for dracut issue: run generators directly when we are in initrd
-# https://bugzilla.redhat.com/show_bug.cgi?id=2164404
-# Drop when dracut-060 is available.
-Patch:          https://github.com/systemd/systemd/pull/26494.patch
-%endif
-
 %if %{without upstream}
 # Those are downstream-only patches, but we don't want them in packit builds.
 
@@ -802,9 +795,7 @@ Standalone systemd-shutdown binary with no dependencies on the systemd-shared
 library or other libraries from systemd-libs. This package conflicts with the
 main systemd package and is meant for use in exitrds.
 
-%prep
-# Print varius with's and without's to make it easier to figure out what is going on
-echo %{shrink:
+%define status %{shrink:
        '**'
        bzip2=%{?with_bzip2}%{!?with_bzip2:0}
        gnutls=%{?with_gnutls}%{!?with_gnutls:0}
@@ -823,6 +814,10 @@ echo %{shrink:
        _arch=%{_arch}
        '**'}
 
+%prep
+# Print varius with's and without's to make it easier to figure out what is going on
+echo %{status}
+
 %if %{with obs}
 # Recipe files in the OBS build are in a distro-specific dir, as they conflict (e.g. with SUSE ones)
 mv %{_sourcedir}/%{name}.fedora/* %{_sourcedir}
@@ -839,6 +834,8 @@ mv %{_sourcedir}/%{name}.fedora/* %{_sourcedir}
 sed -r -i 's/^u!/u/' sysusers.d/*.conf*
 
 %build
+echo %{status}
+
 %if 0%{?eln}
 %global ntpvendor fedora
 %else

                 reply	other threads:[~2026-07-07  7:28 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=178340932411.1.16729244788211589495.rpms-systemd-034fa693f2da@fedoraproject.org \
    --to=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