Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 00:33:31 +01:00
parent 4104372ff4
commit c8f143d406

View File

@ -4,7 +4,7 @@
Summary: Generic library for reporting various problems
Name: libreport
Version: 2.9.3
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
@ -430,32 +430,15 @@ make check|| {
exit 1
}
%post gtk
/sbin/ldconfig
# update icon cache
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun gtk
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans gtk
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%post gtk -p /sbin/ldconfig
%postun gtk -p /sbin/ldconfig
%post web -p /sbin/ldconfig
%postun web -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README.md
@ -760,6 +743,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.3-3
- Remove obsolete scriptlets
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 2.9.3-2
- Rebuilt for libjson-c.so.3
- Use %%global instead of %%define