Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 00:37:23 +01:00
parent 17a374b93e
commit 4d8ba64f99

View File

@ -1,7 +1,7 @@
Summary: Free firewire audio driver library
Name: libffado
Version: 2.3.0
Release: 7%{?dist}
Release: 8%{?dist}
# src/libutil/float_cast.h is LGPLv2+.
# The rest is (GPLv2 or GPLv3)
License: LGPLv2+ and (GPLv2 or GPLv3)
@ -147,18 +147,6 @@ install -m 755 tests/ffado-test %{buildroot}%{_bindir}
%postun -p /sbin/ldconfig
%post -n ffado
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun -n ffado
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans -n ffado
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%doc AUTHORS ChangeLog LICENSE.* README
%{_libdir}/libffado.so.*
@ -185,6 +173,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.3.0-8
- Remove obsolete scriptlets
* Mon Nov 06 2017 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.3.0-7
- Build against scons3
- Build against newer gcc/glibc