Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 17:34:00 +01:00
parent 968890e060
commit 298a464cd6
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: openal-soft
Version: 1.18.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Open Audio Library
Group: System Environment/Libraries
@ -77,9 +77,7 @@ make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc COPYING
@ -122,6 +120,9 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.18.2-2
- Switch to %%ldconfig_scriptlets
* Sun Jan 21 2018 François Cami <fcami@fedoraproject.org> - 1.18.2-1
- New upstream release
- Move bsincgen to -devel and altonegen to -examples