From 3b6146abc7d60c8ea818f76cbbea352d8cdd87cf Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Mon, 18 Mar 2013 06:46:30 -0400 Subject: [PATCH] Drop dependency on anaconda. Don't depend on lorax and repoview on RHEL. --- pungi.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pungi.spec b/pungi.spec index e720c865..f4035587 100644 --- a/pungi.spec +++ b/pungi.spec @@ -10,10 +10,14 @@ License: GPLv2 URL: https://fedorahosted.org/pungi Source0: https://fedorahosted.org/pungi/attachment/wiki/%{version}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: anaconda >= 14.3, yum => 3.2.19, repoview, createrepo >= 0.4.11 +Requires: createrepo >= 0.4.11 +Requires: yum => 3.4.3-28 +%if !0{?rhel:1} Requires: lorax -BuildRequires: python-devel +Requires: repoview +%endif +BuildRequires: python-devel BuildArch: noarch %description