[ark] requires p7zip only in fedora

Than Ngo than at fedoraproject.org
Wed Apr 24 20:48:49 UTC 2013


commit 13c0c1afdc2865775401589a0f16851bdbe3ce83
Author: Than Ngo <than at redhat.com>
Date:   Wed Apr 24 22:48:41 2013 +0200

    requires p7zip only in fedora

 ark.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ark.spec b/ark.spec
index ab2d188..fc14f9a 100644
--- a/ark.spec
+++ b/ark.spec
@@ -1,7 +1,11 @@
+%if 0%{?fedora}
+%global p7zip 1
+%endif
+
 Name:    ark
 Summary: Archive manager
 Version: 4.10.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv2+
 URL:     http://utils.kde.org/projects/ark 
@@ -43,7 +47,9 @@ Provides:  kdeutils-ark = 6:%{version}-%{release}
 
 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
 Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
+%if 0%{?p7zip}
 Requires: p7zip-plugins
+%endif
 
 %description
 Ark is a program for managing various archive formats.
@@ -128,6 +134,9 @@ fi
 
 
 %changelog
+* Wed Apr 24 2013 Than Ngo <than at redhat.com> - 4.10.2-2
+- requires p7zip only in fedora
+
 * Sun Mar 31 2013 Rex Dieter <rdieter at fedoraproject.org> - 4.10.2-1
 - 4.10.2
 


More information about the scm-commits mailing list