public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] rawhide: Print the build status also in %build
@ 2026-07-07  7:28 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-07  7:28 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-07  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07  7:28 [rpms/systemd] rawhide: Print the build status also in %build 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox