public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/barman] f44: Move editing of sources to %prep section
@ 2026-10-23 13:44
0 siblings, 0 replies; only message in thread
From: @ 2026-10-23 13:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/barman
Branch : f44
Commit : a7863476bfa2c60b043eb96bb60fd37ff12c609e
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-10-11T11:48:54+01:00
Stats : +3/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/barman/c/a7863476bfa2c60b043eb96bb60fd37ff12c609e?branch=f44
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/barman.spec b/barman.spec
index 0b3dad0..ff1d341 100644
--- a/barman.spec
+++ b/barman.spec
@@ -47,9 +47,6 @@ Python libraries used by Barman.
# Change shebang in all relevant executable files in this directory and all subdirectories
find -type f -executable -exec sed -i '1s=^#!/usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
-%generate_buildrequires
-%pyproject_buildrequires
-
# Create a sysusers.d config file
cat >barman.sysusers.conf <<EOF
u barman - 'Backup and Recovery Manager for PostgreSQL' %{_sharedstatedir}/%{name} /bin/bash
@@ -58,6 +55,9 @@ EOF
# Remove duplicate with old name
rm -f docs/_build/man/%{name}-list_backups.1*
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
%pyproject_wheel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 13:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 13:44 [rpms/barman] f44: 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