From 6b8b992f8e7fe0fad7805ae527661e4e8c551f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 13 May 2023 20:42:57 +0100 Subject: [PATCH] The %ldconfig_scriptlets macro can be removed on all Fedoras. Possibly also on EPEL 8. But it is required on EPEL 7. --- opencv.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/opencv.spec b/opencv.spec index 248c769..8feaf56 100644 --- a/opencv.spec +++ b/opencv.spec @@ -74,7 +74,7 @@ Version: 4.7.0 %global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} ) %global padding %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} ) %global abiver %(echo %{majorver}%{padding}%{minorver} ) -Release: 7%{?dist} +Release: 8%{?dist} Summary: Collection of algorithms for computer vision # This is normal three clause BSD. License: BSD @@ -408,12 +408,6 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope #endif -%ldconfig_scriptlets core - -%ldconfig_scriptlets contrib - -%ldconfig_scriptlets java - %files %doc README.md %{_bindir}/opencv_* @@ -517,6 +511,10 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope %{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}} %changelog +* Sat May 13 2023 Sérgio Basto - 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. + * Sat May 13 2023 Sérgio Basto - 4.7.0-7 - Install python egg-info - Fix patch warning