public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Install egg-info in python3_sitearch to stay in same location as the rest of python
Date: Fri, 28 Aug 2026 13:32:28 GMT [thread overview]
Message-ID: <178792394817.1.15885835692102619344.rpms-opencv-753e8836e07d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 753e8836e07d56ac1759681f597d0d59505b0962
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2023-05-14T17:12:55+01:00
Stats : +3/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/753e8836e07d56ac1759681f597d0d59505b0962?branch=opencv5
Log:
Install egg-info in python3_sitearch to stay in same location as the rest of python
---
diff --git a/opencv.spec b/opencv.spec
index 8feaf56..a18c17e 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -383,7 +383,7 @@ install -pm 0644 %{SOURCE4} .cache/ade/
%install
%cmake_install
cd %{__cmake_builddir}/python_loader/
-%py3_install
+%py3_install -- --install-lib %{python3_sitearch}
rm -rf %{buildroot}%{_datadir}/OpenCV/licenses/
%if %{with java}
@@ -451,7 +451,7 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
%files -n python3-opencv
%{python3_sitearch}/cv2
-%{python3_sitelib}/opencv-*.egg-info
+%{python3_sitearch}/opencv-*.egg-info
%if %{with java}
%files java
@@ -514,6 +514,7 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
* Sat May 13 2023 Sérgio Basto <sergio@serjux.com> - 4.7.0-8
- The %%ldconfig_scriptlets macro can be removed on all Fedoras. Possibly also on
EPEL 8. But it is required on EPEL 7.
+- Install egg-info in python3_sitearch to stay in same location as the rest of python
* Sat May 13 2023 Sérgio Basto <sergio@serjux.com> - 4.7.0-7
- Install python egg-info
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=178792394817.1.15885835692102619344.rpms-opencv-753e8836e07d@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