public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Fix opencv2 header location
@ 2026-08-28 13:29 Nicolas Chauvet
0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-08-28 13:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 60743dbfb3428b8cbb455a3b117efad0b1bce1b8
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2011-01-06T15:52:41+01:00
Stats : +1/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/60743dbfb3428b8cbb455a3b117efad0b1bce1b8?branch=opencv5
Log:
Fix opencv2 header location
---
diff --git a/opencv.spec b/opencv.spec
index 2255dcc..34987fd 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -184,10 +184,6 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/opencv/{doc/,samples/octave/}
# Remove Rpath in python shared objects:
find $RPM_BUILD_ROOT%{python_sitearch} -name "*.so" -exec chrpath -d {} ';'
-#Move opencv2 headers into the appropriate directory
-mv $RPM_BUILD_ROOT%{_includedir}/opencv2 \
- $RPM_BUILD_ROOT%{_includedir}/opencv
-
%check
# Check fails since we don't support most video
@@ -220,6 +216,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%{_includedir}/opencv
+%{_includedir}/opencv2
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/opencv.pc
# own cmake dir avoiding dep on cmake
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:29 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:29 [rpms/opencv] opencv5: Fix opencv2 header location Nicolas Chauvet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox