public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: autosetup not handle multiple "-a<num>" parameters
Date: Fri, 28 Aug 2026 13:32:21 GMT [thread overview]
Message-ID: <178792394120.1.2924725439620210617.rpms-opencv-ac7a4a346fa3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : ac7a4a346fa305a00e32415541def11324f67eea
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2023-01-14T22:59:24+00:00
Stats : +6/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/ac7a4a346fa305a00e32415541def11324f67eea?branch=opencv5
Log:
autosetup not handle multiple "-a<num>" parameters
---
diff --git a/opencv.spec b/opencv.spec
index e1bc1f5..f96bb46 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -272,7 +272,9 @@ distribution, since the library maintains binary compatibility, and tries
to provide decent performance and stability.
%prep
-%autosetup -p1 -a1 %{?with_extras:-a2}
+# autosetup doesn't work with 2 sources
+# https://github.com/rpm-software-management/rpm/issues/1204
+%setup -q -a1 %{?with_extras:-a2}
%if 1
# we don't use pre-built contribs except quirc
pushd 3rdparty
@@ -283,6 +285,9 @@ shopt -u extglob
popd &>/dev/null
%endif
+%patch0 -p1 -b .install_3rdparty_licenses
+%patch3 -p1 -b .python_install_binary
+
pushd %{name}_contrib-%{version}
#patch1 -p1 -b .install_cvv
popd
reply other threads:[~2026-08-28 13:32 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=178792394120.1.2924725439620210617.rpms-opencv-ac7a4a346fa3@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