- require touch for scriptlets to not give errors
This commit is contained in:
parent
fa6d1e4c97
commit
264f09d796
@ -1,6 +1,6 @@
|
||||
Name: sound-theme-freedesktop
|
||||
Version: 0.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: freedesktop.org sound theme
|
||||
Group: User Interface/Desktops
|
||||
Source0: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
|
||||
@ -9,6 +9,8 @@ License: GPLv2+ and LGPLv2+ and CC-BY-SA and CC-BY
|
||||
Url: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires(post): /bin/touch
|
||||
Requires(postun): /bin/touch
|
||||
|
||||
%description
|
||||
The default freedesktop.org sound theme following the XDG theming
|
||||
@ -28,10 +30,10 @@ cp -av index.theme stereo/ $RPM_BUILD_ROOT%{_datadir}/sounds/freedesktop
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/sounds/freedesktop
|
||||
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/sounds/freedesktop
|
||||
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -42,5 +44,8 @@ touch --no-create %{_datadir}/sounds/freedesktop
|
||||
%{_datadir}/sounds/freedesktop/stereo/*.ogg
|
||||
|
||||
%changelog
|
||||
* Mon Aug 11 2008 Jeremy Katz <katzj@redhat.com> - 0.1-2
|
||||
- require touch for scriptlets to not give errors
|
||||
|
||||
* Sun Jun 15 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
|
||||
- Initial package
|
||||
|
Loading…
Reference in New Issue
Block a user