[rear/el5] modifications required for EPEL-5 see URL: http://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies#
Gratien Dhaese
gdha at fedoraproject.org
Mon Apr 23 11:38:16 UTC 2012
commit f23f1efe437fbd5693dcbffb4cc345497bc8ef27
Author: Gratien D'haese <gratien.dhaese at gmail.com>
Date: Mon Apr 23 13:37:10 2012 +0200
modifications required for EPEL-5
see URL: http://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies#EL5
rear.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/rear.spec b/rear.spec
index 2db6a12..27e3b9f 100644
--- a/rear.spec
+++ b/rear.spec
@@ -8,6 +8,8 @@ License: GPLv2+
URL: http://rear.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
+# For EPEL-5
+BuildRoot : %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# all RPM based systems seem to have this
Requires: mingetty binutils iputils tar gzip ethtool parted
@@ -35,6 +37,9 @@ bare metal disaster recovery abilities to the compatible backup software.
# no code to compile - all bash scripts
%install
+# for EPEL-5
+rm -rf $RPM_BUILD_ROOT
+
# create directories
mkdir -vp \
$RPM_BUILD_ROOT%{_mandir}/man8 \
More information about the scm-commits
mailing list