public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/postfix-mta-sts-resolver] rawhide: Move editing of sources to %prep section
@ 2026-10-12 6:30
0 siblings, 0 replies; only message in thread
From: @ 2026-10-12 6:30 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/postfix-mta-sts-resolver
Branch : rawhide
Commit : 197048bd30e0ed774fb57a30f3592fef968f03d6
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-06-13T10:35:14+02:00
Stats : +4/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/postfix-mta-sts-resolver/c/197048bd30e0ed774fb57a30f3592fef968f03d6?branch=rawhide
Log:
Move editing of sources to %prep section
The editing of sources was done partially in %generate_buildrequires.
This works, because the steps are done in order, but conceptually,
sources are supposed to be 'prepared' in %prep, so that at end of %prep
we have the tree in the state in which we'll be trying to work on it.
[skip changelog]
---
diff --git a/postfix-mta-sts-resolver.spec b/postfix-mta-sts-resolver.spec
index 7295eaf..c3b6801 100644
--- a/postfix-mta-sts-resolver.spec
+++ b/postfix-mta-sts-resolver.spec
@@ -39,16 +39,16 @@ client policy to Postfix via socketmap.
%{gpgverify} --keyring='%{SOURCE4}' --signature='%{SOURCE3}' --data='%{SOURCE0}'
%autosetup -n %{name}-%{version} -p1
-
-%generate_buildrequires
-%pyproject_buildrequires
-
# Create a sysusers.d config file
cat >postfix-mta-sts-resolver.sysusers.conf <<EOF
u mta-sts - 'Postfix MTA-STS Map Daemon' %{_sharedstatedir}/mta-sts -
EOF
+%generate_buildrequires
+%pyproject_buildrequires
+
+
%build
%pyproject_wheel
make doc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 6:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 6:30 [rpms/postfix-mta-sts-resolver] rawhide: Move editing of sources to %prep section
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox