public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/PyGreSQL] rawhide: Move editing of sources to %prep section
@ 2026-06-13 22:45 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-13 22:45 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/PyGreSQL
            Branch : rawhide
            Commit : 60e2ec08a12593729948d11efd4c69dfa96ea086
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-06-13T11:02:34+02:00
            Stats  : +4/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/PyGreSQL/c/60e2ec08a12593729948d11efd4c69dfa96ea086?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/PyGreSQL.spec b/PyGreSQL.spec
index 01bf2f5..09936e8 100644
--- a/PyGreSQL.spec
+++ b/PyGreSQL.spec
@@ -48,13 +48,14 @@ Obsoletes: python3-PyGreSQL < %{uversion}-%{release}
 %prep
 %autosetup -n %{srcname}-%{uversion} -p1
 
-%generate_buildrequires
-%pyproject_buildrequires -t
-
 # PyGreSQL releases have execute bits on all files
 find -type f -exec chmod 644 {} +
 
 
+%generate_buildrequires
+%pyproject_buildrequires -t
+
+
 %build
 %pyproject_wheel
 

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

only message in thread, other threads:[~2026-06-13 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-13 22:45 [rpms/PyGreSQL] 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