public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: curl.spec: apply patches automatically
@ 2026-11-03 12:38 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.23.0-3
            Commit : 449e5165fd459f6a380feebf4fa7aa913dd40519
            Author : Kamil Dudka <kdudka@redhat.com>
            Date   : 2023-04-21T14:35:22+02:00
            Stats  : +4/-9 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/449e5165fd459f6a380feebf4fa7aa913dd40519?branch=curl-v8.23.0-3

            Log:
            curl.spec: apply patches automatically

... to ease maintenance and to avoid the following warning on Fedora
Rawhide:
```
warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N)
```

---
diff --git a/curl.spec b/curl.spec
index e04b29c..86222da 100644
--- a/curl.spec
+++ b/curl.spec
@@ -200,15 +200,7 @@ be installed.
 
 %prep
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
-%setup -q
-
-# upstream patches
-
-# Fedora patches
-%patch101 -p1
-%patch102 -p1
-%patch103 -p1
-%patch104 -p1
+%autosetup -p1
 
 # disable test 1112 (#565305), test 1455 (occasionally fails with 'bind failed
 # with errno 98: Address already in use' in Koji environment), and test 1801
@@ -438,6 +430,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Fri Apr 21 2023 Kamil Dudka <kdudka@redhat.com> - 8.0.1-3
+- apply patches automatically
+
 * Tue Mar 21 2023 Lukáš Zaoral <lzaoral@redhat.com> - 8.0.1-2
 - migrated to SPDX license
 

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

only message in thread, other threads:[~2026-11-03 12:38 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:38 [rpms/curl] curl-v8.23.0-3: curl.spec: apply patches automatically Kamil Dudka

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