Use %%ldconfig_scriptlets

epel8
sagitter 7 years ago
parent 2caf762374
commit f7a22ee837

@ -1,6 +1,6 @@
Name: libmodplug
Version: 0.8.9.0
Release: 4%{?dist}
Release: 5%{?dist}
Epoch: 1
Summary: Modplug mod music file format library
@ -26,33 +26,23 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%description devel
%{summary}.
%prep
%setup -q
%patch0 -p1
sed -i -e 's/\r//g' ChangeLog
%build
%configure
make %{?_smp_mflags} V=1
%make_build V=1
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -64,8 +54,10 @@ make check
%{_libdir}/libmodplug.so
%{_libdir}/pkgconfig/libmodplug.pc
%changelog
* Sat Feb 17 2018 Antonio Trande <sagitter@fedoraproject.org> - 1:0.8.9.0-5
- Use %%ldconfig_scriptlets
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.8.9.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save