Make unar dep conditional

epel9
Matthias Clasen 12 years ago
parent 9917cbb3cc
commit 9e62507a9d

@ -1,7 +1,7 @@
Summary: Tool for viewing and creating archives Summary: Tool for viewing and creating archives
Name: file-roller Name: file-roller
Version: 3.8.1 Version: 3.8.1
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/Archiving Group: Applications/Archiving
URL: http://download.gnome.org/sources/file-roller/ URL: http://download.gnome.org/sources/file-roller/
@ -24,7 +24,9 @@ BuildRequires: libarchive-devel
BuildRequires: json-glib-devel BuildRequires: json-glib-devel
Requires(pre): GConf2 Requires(pre): GConf2
%if 0%{?rhel} == 0
Requires: unar Requires: unar
%endif
%description %description
File Roller is an application for creating and viewing archives files, 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 %changelog
* Fri May 3 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.1-3
- No unar in rhel
* Sun Apr 21 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 3.8.1-2 * Sun Apr 21 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 3.8.1-2
- Add BR on json-glib-devel and requires on unrar for RAR support - Add BR on json-glib-devel and requires on unrar for RAR support

Loading…
Cancel
Save