Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
cdf001062b
commit
a4e6cb7aba
24
gcr.spec
24
gcr.spec
@ -71,28 +71,8 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
|
|||||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gcr-viewer
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gcr-viewer
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gcr-prompter
|
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gcr-prompter
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
/usr/bin/update-desktop-database &> /dev/null || :
|
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
/sbin/ldconfig
|
|
||||||
/usr/bin/update-desktop-database &> /dev/null || :
|
|
||||||
if [ $1 -eq 0 ] ; then
|
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
||||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%posttrans
|
|
||||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
/usr/bin/update-mime-database -n %{_datadir}/mime &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc README NEWS
|
%doc README NEWS
|
||||||
|
Loading…
Reference in New Issue
Block a user