[shared-mime-info] Add Requires(post): coreutils for touch invocation

Colin Walters walters at fedoraproject.org
Tue Jul 8 14:29:00 UTC 2014


commit f863abb10ea01be7b33d66853faabe58675ec95e
Author: Colin Walters <walters at verbum.org>
Date:   Tue Jul 8 10:20:12 2014 -0400

    Add Requires(post): coreutils for touch invocation
    
    Saw an error about no /usr/bin/touch when building an ISO with lorax.

 shared-mime-info.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/shared-mime-info.spec b/shared-mime-info.spec
index e4dbec6..1346b87 100644
--- a/shared-mime-info.spec
+++ b/shared-mime-info.spec
@@ -1,7 +1,7 @@
 Summary: Shared MIME information database
 Name: shared-mime-info
 Version: 1.3
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 URL: http://freedesktop.org/Software/shared-mime-info
@@ -36,6 +36,7 @@ BuildRequires:  gettext
 BuildRequires: perl(XML::Parser) intltool
 
 Requires(post): glib2
+Requires(post): coreutils
 
 %description
 This is the freedesktop.org shared MIME info database.
@@ -92,6 +93,10 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
 %{_mandir}/man*/*
 
 %changelog
+* Tue Jul 08 2014 Colin Walters <walters at 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 at fedoraproject.org> 1.3-8
 - scriptlet polish
 


More information about the scm-commits mailing list