Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c6f23ce7e3
commit
1e7bb7fa82
32
cheese.spec
32
cheese.spec
@ -1,7 +1,7 @@
|
|||||||
Name: cheese
|
Name: cheese
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 3.26.0
|
Version: 3.26.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Application for taking pictures and movies from a webcam
|
Summary: Application for taking pictures and movies from a webcam
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -87,31 +87,8 @@ chrpath --delete %{buildroot}%{_libdir}/libcheese-gtk.so.*
|
|||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Cheese.desktop
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Cheese.desktop
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post libs -p /sbin/ldconfig
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%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 || :
|
|
||||||
|
|
||||||
|
|
||||||
%post libs
|
|
||||||
/sbin/ldconfig
|
|
||||||
if [ $1 -eq 1 ] ; then
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%postun libs
|
|
||||||
/sbin/ldconfig
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -142,6 +119,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:3.26.0-2
|
||||||
|
- Remove obsolete scriptlets
|
||||||
|
|
||||||
* Mon Sep 11 2017 David King <amigadave@amigadave.com> - 2:3.26.0-1
|
* Mon Sep 11 2017 David King <amigadave@amigadave.com> - 2:3.26.0-1
|
||||||
- Update to 3.26.0
|
- Update to 3.26.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user