public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: Move the autoreconf invocation to %build section
@ 2026-11-03 12:39 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-03 12:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.23.0-3
            Commit : d92476d332b446e871f74225c987968021a5c526
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
            Date   : 2024-09-29T16:07:10+02:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/d92476d332b446e871f74225c987968021a5c526?branch=curl-v8.23.0-3

            Log:
            Move the autoreconf invocation to %build section

The %prep section is supposed to extract and possibly patch the sources. In
particular, the code provided by the package should not be called here, but
only in %build section. This keeps %prep quick and allows the code provided by
upstream to be inspected before running it.

Also drop space after the redirection operator to match the style elsewhere in
the spec file. Having symmetrical whitespace around the operator makes it look
like a binary operator, which it very much is not.

---
diff --git a/curl.spec b/curl.spec
index 0cfbaa8..0c2163c 100644
--- a/curl.spec
+++ b/curl.spec
@@ -214,7 +214,7 @@ be installed.
 
 # disable test 1801
 # <https://github.com/bagder/curl/commit/21e82bd6#commitcomment-12226582>
-printf "1801\n" >> tests/data/DISABLED
+printf "1801\n" >>tests/data/DISABLED
 
 # test3026: avoid pthread_create() failure due to resource exhaustion on i386
 %ifarch %{ix86}
@@ -234,10 +234,10 @@ sed -e 's|^35$|35,52|' -i tests/data/test323
     eval "$cmd"
 )
 
+%build
 # regenerate the configure script and Makefile.in files
 autoreconf -fiv
 
-%build
 mkdir build-{full,minimal}
 export common_configure_opts="          \
     --cache-file=../config.cache        \

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

only message in thread, other threads:[~2026-11-03 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:39 [rpms/curl] curl-v8.23.0-3: Move the autoreconf invocation to %build section 

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