- prereq coreutils
This commit is contained in:
parent
b979f3a947
commit
0470157c0d
@ -8,7 +8,8 @@ URL: http://freedesktop.org/Software/icon-theme
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
BuildArch: noarch
|
||||
|
||||
Prereq(post): coreutils
|
||||
Prereq(postun): coreutils
|
||||
Prereq: gtk2 >= 2.6.0
|
||||
|
||||
%description
|
||||
@ -30,13 +31,14 @@ touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -47,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/icons/hicolor
|
||||
|
||||
%changelog
|
||||
* Wed Nov 30 2005 Florian La Roche <laroche@redhat.com>
|
||||
- scripts need coreutils installed
|
||||
|
||||
* Tue Apr 19 2005 Matthias Clasen <mclasen@redhat.com> 0.8-2
|
||||
- Silence %%post
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user