public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: revert pkgcmake2 patch (#1070428)
@ 2026-08-28 13:30 Rex Dieter
  0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-08-28 13:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : d852d96aa1f9f5894f01e4b50c67e72f5f4ca9a2
Author : Rex Dieter <rdieter@math.unl.edu>
Date   : 2014-04-26T20:41:58-05:00
Stats  : +4/-19 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/d852d96aa1f9f5894f01e4b50c67e72f5f4ca9a2?branch=opencv5

Log:
revert pkgcmake2 patch (#1070428)

---
diff --git a/opencv-pkgcmake2.patch b/opencv-pkgcmake2.patch
deleted file mode 100644
index 09d5e14..0000000
--- a/opencv-pkgcmake2.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -up OpenCV-2.4.2/cmake/templates/OpenCVConfig.cmake.in.pkgcmake2 OpenCV-2.4.2/cmake/templates/OpenCVConfig.cmake.in
---- OpenCV-2.4.2/cmake/templates/OpenCVConfig.cmake.in.pkgcmake2	2012-07-09 18:21:58.374388493 +0200
-+++ OpenCV-2.4.2/cmake/templates/OpenCVConfig.cmake.in	2012-07-09 18:22:32.465014020 +0200
-@@ -53,11 +53,7 @@ set(OpenCV_USE_MANGLED_PATHS @OpenCV_USE
- get_filename_component(OpenCV_CONFIG_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH CACHE)
- 
- if(NOT WIN32 OR OpenCV_ANDROID_NATIVE_API_LEVEL GREATER 0)
--  if(OpenCV_ANDROID_NATIVE_API_LEVEL GREATER 0)
--    set(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/../../..")
--  else()
--    set(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/../..")
--  endif()
-+  set(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/../../..")
-   # Get the absolute path with no ../.. relative marks, to eliminate implicit linker warnings
-   if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} VERSION_LESS 2.8)
-     get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_INSTALL_PATH}" ABSOLUTE)

diff --git a/opencv.spec b/opencv.spec
index b547a57..c673657 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -2,7 +2,7 @@
 
 Name:           opencv
 Version:        2.4.7
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Collection of algorithms for computer vision
 Group:          Development/Libraries
 # This is normal three clause BSD.
@@ -17,7 +17,6 @@ URL:            http://opencv.org
 Source0:	%{name}-clean-%{version}%{?indice}.tar.xz
 Source1:        opencv-samples-Makefile
 Patch0:         opencv-pkgcmake.patch
-Patch1:         opencv-pkgcmake2.patch
 #http://code.opencv.org/issues/2720
 Patch2:         OpenCV-2.4.4-pillow.patch
 Patch3:         opencv-2.4.7-ts_static.patch
@@ -117,7 +116,6 @@ This package contains Python bindings for the OpenCV library.
 %prep
 %setup -q
 %patch0 -p1 -b .pkgcmake
-%patch1 -p1 -b .pkgcmake2
 %patch2 -p1 -b .pillow
 %patch3 -p1 -b .ts_static
 %patch4 -p1 -b .cmake_paths
@@ -251,6 +249,9 @@ popd
 %{python2_sitearch}/cv2.so
 
 %changelog
+* Sat Apr 26 2014 Rex Dieter <rdieter@fedoraproject.org> 2.4.7-6
+- revert pkgcmake2 patch (#1070428)
+
 * Fri Jan 17 2014 Nicolas Chauvet <kwizart@gmail.com> - 2.4.7-5
 - Fix opencv_ocl isn't part of -core
 

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

only message in thread, other threads:[~2026-08-28 13:30 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:30 [rpms/opencv] opencv5: revert pkgcmake2 patch (#1070428) Rex Dieter

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