Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
cb8913d57a
commit
104eaddf60
23
totem.spec
23
totem.spec
@ -7,7 +7,7 @@
|
||||
Name: totem
|
||||
Epoch: 1
|
||||
Version: 3.26.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Movie player for GNOME
|
||||
|
||||
License: GPLv2+ with exceptions
|
||||
@ -153,23 +153,9 @@ audio and video files in the properties dialog.
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.desktop
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
update-desktop-database &> /dev/null || :
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
update-desktop-database &> /dev/null || :
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS NEWS README TODO
|
||||
@ -235,6 +221,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%{_datadir}/gir-1.0/Totem-1.0.gir
|
||||
|
||||
%changelog
|
||||
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:3.26.0-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Mon Sep 11 2017 Kalev Lember <klember@redhat.com> - 1:3.26.0-1
|
||||
- Update to 3.26.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user