scriptlet polish

This commit is contained in:
Rex Dieter 2014-07-08 09:19:18 -05:00
parent 2d3d1f7776
commit 70618afb9f

View File

@ -1,7 +1,7 @@
Summary: Shared MIME information database
Name: shared-mime-info
Version: 1.3
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://freedesktop.org/Software/shared-mime-info
@ -75,10 +75,10 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
%post
touch --no-create %{_datadir}/mime/packages ||:
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null ||:
%posttrans
%{_bindir}/update-mime-database -n %{_datadir}/mime &> /dev/null ||:
%{_bindir}/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null ||:
%files -f %{name}.files
%defattr(-,root,root,-)
@ -92,6 +92,9 @@ touch --no-create %{_datadir}/mime/packages ||:
%{_mandir}/man*/*
%changelog
* Tue Jul 08 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3-8
- scriptlet polish
* Thu Jul 03 2014 Bastien Nocera <bnocera@redhat.com> 1.3-7
- Update defaults.list for nautilus desktop filename change (#1095008)