Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
1091d6f313
commit
7bd48ea3d4
29
brasero.spec
29
brasero.spec
@ -1,6 +1,6 @@
|
||||
Name: brasero
|
||||
Version: 3.12.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Gnome CD/DVD burning application
|
||||
|
||||
# see https://bugzilla.gnome.org/show_bug.cgi?id=683503
|
||||
@ -116,35 +116,11 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.ap
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-desktop-database &> /dev/null ||:
|
||||
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%postun
|
||||
update-desktop-database &> /dev/null ||:
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
fi
|
||||
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README
|
||||
@ -180,6 +156,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.12.2-3
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Thu Aug 10 2017 Kalev Lember <klember@redhat.com> - 3.12.2-2
|
||||
- Rebuilt for libtotem-plparser soname bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user