diff --git a/liborigin.spec b/liborigin.spec index 31b78c6..8134709 100644 --- a/liborigin.spec +++ b/liborigin.spec @@ -1,6 +1,6 @@ Name: liborigin Version: 20080225 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Library for reading OriginLab OPJ project files License: GPLv2 @@ -14,8 +14,6 @@ Patch1: %{name}-%{version}-cxx11.patch BuildRequires: gcc-c++ BuildRequires: cmake -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig %description A library for reading OriginLab OPJ project files. @@ -53,9 +51,8 @@ install -pm 644 OPJFile.h tree.hh %{buildroot}%{_includedir}/%{name}/ #W: spurious-executable-perm chmod 0644 ws4.opj -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files @@ -68,6 +65,9 @@ chmod 0644 ws4.opj %{_libdir}/%{name}.so %changelog +* Thu Jun 28 2018 Alexander Ploumistos - 20080225-24 +- Replace obsolete ldconfig scriptlets with macro and remove dependencies + * Fri Feb 16 2018 Alexander Ploumistos - 20080225-23 - Add gcc-c++ build dependency - Fix rpmlint warning