From a112f5965647ebe49cf626be5afbc32aa42b423c Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Wed, 8 Dec 2010 12:35:42 +0100 Subject: [PATCH] - Only build a noarch doc package for EPEL6 or more. #659723 --- torque.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/torque.spec b/torque.spec index a84be5b..5060298 100644 --- a/torque.spec +++ b/torque.spec @@ -68,7 +68,7 @@ Name: torque Version: 2.4.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tera-scale Open-source Resource and QUEue manager Source0: http://www.clusterresources.com/downloads/%{name}/%{name}-%{version}.tar.gz Source2: xpbs.desktop @@ -124,7 +124,9 @@ This package holds the command-line client programs. Group: Documentation Summary: Documentation files for TORQUE Requires: %{name} = %{version}-%{release} +%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 BuildArch: noarch +%endif %description docs TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource @@ -645,6 +647,9 @@ fi %changelog +* Wed Dec 8 2010 Steve Traylen - 2.4.11-2 +- Only build a noarch doc package for EPEL6 or more. #659723 + * Thu Nov 18 2010 Steve Traylen - 2.4.11-1 - New upstream 2.4.11.