public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Install egg-info in python3_sitearch to stay in same location as the rest of python
@ 2026-08-28 13:32 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:32 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-08-28 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:32 [rpms/opencv] opencv5: Install egg-info in python3_sitearch to stay in same location as the rest of python 

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