The %ldconfig_scriptlets macro can be removed on all Fedoras.

Possibly also on EPEL 8. But it is required on EPEL 7.
This commit is contained in:
Sérgio M. Basto 2023-05-13 20:42:57 +01:00
parent 95f94bb5f4
commit 6b8b992f8e

View File

@ -74,7 +74,7 @@ Version: 4.7.0
%global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} ) %global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} )
%global padding %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} ) %global padding %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} )
%global abiver %(echo %{majorver}%{padding}%{minorver} ) %global abiver %(echo %{majorver}%{padding}%{minorver} )
Release: 7%{?dist} Release: 8%{?dist}
Summary: Collection of algorithms for computer vision Summary: Collection of algorithms for computer vision
# This is normal three clause BSD. # This is normal three clause BSD.
License: BSD License: BSD
@ -408,12 +408,6 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
#endif #endif
%ldconfig_scriptlets core
%ldconfig_scriptlets contrib
%ldconfig_scriptlets java
%files %files
%doc README.md %doc README.md
%{_bindir}/opencv_* %{_bindir}/opencv_*
@ -517,6 +511,10 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
%{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}} %{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}}
%changelog %changelog
* 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.
* Sat May 13 2023 Sérgio Basto <sergio@serjux.com> - 4.7.0-7 * Sat May 13 2023 Sérgio Basto <sergio@serjux.com> - 4.7.0-7
- Install python egg-info - Install python egg-info
- Fix patch warning - Fix patch warning