Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
ae52f4a3bd
commit
1b223e8fc7
1 changed files with 4 additions and 18 deletions
22
ailurus.spec
22
ailurus.spec
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Name: ailurus
|
||||
Version: 10.10.3
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
Summary: A simple application installer and GNOME tweaker
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
|
|
@ -43,24 +43,7 @@ desktop-file-install \
|
|||
%find_lang %{name} --with-gnome
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/PolicyKit/policy/cn.ailurus.policy
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun
|
||||
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-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/ailurus
|
||||
%{_datadir}/applications/ailurus.desktop
|
||||
%{_datadir}/ailurus/
|
||||
|
|
@ -73,6 +56,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||
%{python_sitelib}/ailurus*.egg-info
|
||||
|
||||
%changelog
|
||||
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.10.3-14
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 10.10.3-13
|
||||
- Fix ambiguous Python 2 dependency declarations
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
|
|
|||
Reference in a new issue