[file-roller] Make unar dep conditional

Matthias Clasen mclasen at fedoraproject.org
Fri May 3 13:13:49 UTC 2013


commit 9e62507a9dcd0749ec5164b14a577c0a861ebd1c
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Fri May 3 09:06:14 2013 -0400

    Make unar dep conditional

 file-roller.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/file-roller.spec b/file-roller.spec
index 2b7dd35..bd6156c 100644
--- a/file-roller.spec
+++ b/file-roller.spec
@@ -1,7 +1,7 @@
 Summary:        Tool for viewing and creating archives
 Name:           file-roller
 Version:        3.8.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPLv2+
 Group:          Applications/Archiving
 URL:            http://download.gnome.org/sources/file-roller/
@@ -24,7 +24,9 @@ BuildRequires: libarchive-devel
 BuildRequires: json-glib-devel
 
 Requires(pre): GConf2
+%if 0%{?rhel} == 0
 Requires:      unar
+%endif
 
 %description
 File Roller is an application for creating and viewing archives files,
@@ -100,6 +102,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %changelog
+* Fri May  3 2013 Matthias Clasen <mclasen at redhat.com> - 3.8.1-3
+- No unar in rhel
+
 * Sun Apr 21 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 3.8.1-2
 - Add BR on json-glib-devel and requires on unrar for RAR support
 


More information about the scm-commits mailing list