- 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
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Prereq(post): coreutils
|
||||||
|
Prereq(postun): coreutils
|
||||||
Prereq: gtk2 >= 2.6.0
|
Prereq: gtk2 >= 2.6.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -30,13 +31,14 @@ touch --no-create %{_datadir}/icons/hicolor
|
|||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -47,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/icons/hicolor
|
%{_datadir}/icons/hicolor
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Apr 19 2005 Matthias Clasen <mclasen@redhat.com> 0.8-2
|
||||||
- Silence %%post
|
- Silence %%post
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user