Add Requires(post): coreutils for touch invocation

Saw an error about no /usr/bin/touch when building an ISO with lorax.
This commit is contained in:
Colin Walters 2014-07-08 10:20:12 -04:00
parent 70618afb9f
commit f863abb10e

View File

@ -1,7 +1,7 @@
Summary: Shared MIME information database Summary: Shared MIME information database
Name: shared-mime-info Name: shared-mime-info
Version: 1.3 Version: 1.3
Release: 8%{?dist} Release: 9%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
URL: http://freedesktop.org/Software/shared-mime-info URL: http://freedesktop.org/Software/shared-mime-info
@ -36,6 +36,7 @@ BuildRequires: gettext
BuildRequires: perl(XML::Parser) intltool BuildRequires: perl(XML::Parser) intltool
Requires(post): glib2 Requires(post): glib2
Requires(post): coreutils
%description %description
This is the freedesktop.org shared MIME info database. This is the freedesktop.org shared MIME info database.
@ -92,6 +93,10 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Tue Jul 08 2014 Colin Walters <walters@redhat.com> - 1.3-9
- Add requires(post) on coreutils to ensure /usr/bin/touch is present
- Resolves: rhbz#1114119
* Tue Jul 08 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3-8 * Tue Jul 08 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3-8
- scriptlet polish - scriptlet polish