public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Remove Obsoletes/Provides libopencv_java.so and use OPENCV_JAR_INSTALL_PATH
Date: Fri, 28 Aug 2026 13:31:09 GMT [thread overview]
Message-ID: <178792386999.1.10338679539843169318.rpms-opencv-44a97246a9ee@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/opencv
Branch : opencv5
Commit : 44a97246a9ee280db440094bfc04efc57f0e96e2
Author : Sérgio M. Basto <sergio@serjux.com>
Date : 2019-06-12T20:11:30+01:00
Stats : +10/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/opencv/c/44a97246a9ee280db440094bfc04efc57f0e96e2?branch=opencv5
Log:
Remove Obsoletes/Provides libopencv_java.so and use OPENCV_JAR_INSTALL_PATH
---
diff --git a/opencv.spec b/opencv.spec
index 11f44cb..35cbfa0 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -59,7 +59,7 @@
Name: opencv
Version: 3.4.6
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Collection of algorithms for computer vision
# This is normal three clause BSD.
License: BSD
@@ -214,8 +214,6 @@ Summary: Java bindings for apps which use OpenCV
Requires: java-headless
Requires: javapackages-filesystem
Requires: %{name}-core%{_isa} = %{version}-%{release}
-Provides: lib%{name}_java.so%{?_isa} = %{version}-%{release}
-Obsoletes: lib%{name}_java.so%{?_isa} < %{version}-%{release}
%description java
This package contains Java bindings for the OpenCV library.
@@ -268,7 +266,8 @@ pushd build
-DWITH_CAROTENE=OFF \
-DENABLE_PRECOMPILED_HEADERS=OFF \
-DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \
- %{?with_java: -DBUILD_opencv_java=ON } \
+ %{?with_java: -DBUILD_opencv_java=ON \
+ -DOPENCV_JAR_INSTALL_PATH=%{_jnidir} } \
%{!?with_java: -DBUILD_opencv_java=OFF } \
%{?with_tbb: -DWITH_TBB=ON } \
%{!?with_gstreamer: -DWITH_GSTREAMER=OFF } \
@@ -319,10 +318,7 @@ popd
find %{buildroot} -name '*.la' -delete
rm -rf %{buildroot}%{_datadir}/OpenCV/licenses/
%if %{with java}
-mv %{buildroot}/usr/share/OpenCV/java/libopencv_java%{javaver}.so %{buildroot}%{_libdir}
-ln -s -r %{buildroot}%{_libdir}/libopencv_java%{javaver}.so %{buildroot}%{_libdir}/libopencv_java.so
-mkdir -p %{buildroot}%{_jnidir}
-mv %{buildroot}/usr/share/OpenCV/java/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/
+ln -s -r %{buildroot}%{_jnidir}/libopencv_java%{javaver}.so %{buildroot}%{_jnidir}/libopencv_java.so
ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/opencv.jar
%endif
@@ -382,9 +378,6 @@ popd
%{_includedir}/opencv
%{_includedir}/opencv2
%{_libdir}/lib*.so
-%if %{with java}
-%exclude %{_libdir}/libopencv_java*.so
-%endif
%{_libdir}/pkgconfig/opencv.pc
%{_libdir}/cmake/OpenCV/*.cmake
@@ -398,9 +391,9 @@ popd
%if %{with java}
%files java
-%{_libdir}/libopencv_java%{javaver}.so
-%{_libdir}/libopencv_java.so
+%{_jnidir}/libopencv_java%{javaver}.so
%{_jnidir}/opencv-%{javaver}.jar
+%{_jnidir}/libopencv_java.so
%{_jnidir}/opencv.jar
%endif
@@ -437,8 +430,12 @@ popd
%{_libdir}/libopencv_xphoto.so.%{abiver}*
%changelog
+* Wed Jun 12 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-3
+- Remove Obsoletes/Provides libopencv_java.so and use OPENCV_JAR_INSTALL_PATH
+
* Sun Jun 09 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-2
- Fix cmakes location
+- add BR: python3-beautifulsoup4
* Thu May 23 2019 Sérgio Basto <sergio@serjux.com> - 3.4.6-1
- Update to 3.4.6
reply other threads:[~2026-08-28 13:31 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=178792386999.1.10338679539843169318.rpms-opencv-44a97246a9ee@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