public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/barman] f44: Move editing of sources to %prep section
Date: Fri, 23 Oct 2026 13:44:07 GMT [thread overview]
Message-ID: <179276304743.1.7596488297282701990.rpms-barman-a7863476bfa2@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-23 13:44 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=179276304743.1.7596488297282701990.rpms-barman-a7863476bfa2@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