[clean] Fixed the things in EPEL/GuidelinesAndPolicys for the import into EPEL5 and EPEL6

Patrick Uiterwijk puiterwijk at fedoraproject.org
Fri Jul 20 09:10:08 UTC 2012


commit 0e295c5ff10c39765ff70a63a137bf91c42e1c3c
Author: Patrick Uiterwijk <puiterwijk at gmail.com>
Date:   Fri Jul 20 11:05:53 2012 +0200

    Fixed the things in EPEL/GuidelinesAndPolicys for the import into EPEL5 and EPEL6

 clean.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/clean.spec b/clean.spec
index d60e243..e56ebc1 100644
--- a/clean.spec
+++ b/clean.spec
@@ -13,7 +13,7 @@
 
 Name:           clean
 Version:        2.4
-Release:        10%{?dist}
+Release:        11%{?dist}
 Group:          Development/Tools
 Summary:        The Clean language compiler
 License:        LGPLv2+ or BSD
@@ -34,7 +34,8 @@ Patch3: %{name}.clmman.patch
 Patch4: %{name}.rmtmp.patch
 Patch5: %{name}.localint.patch
 
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# This was changed for EPEL5 to the first suggestion
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 # Because the Clean compiler is only available on x86 and x86_64, we notify such
 ExclusiveArch: i386 i486 i586 i686 x86 x86_64
@@ -124,6 +125,10 @@ cd %{_builddir}/%{buildsubdir}/lib/Generics
 dos2unix %{_builddir}/%{buildsubdir}/doc/CleanLangRep/CleanRep.2.2.css
 
 %install
+# This is for EPEL5
+rm -rf %{buildroot}
+mkdir %{buildroot}
+
 # Create base directory structure
 mkdir -p %{buildroot}%{_bindir}/
 mkdir -p %{buildroot}%{_libexecdir}/%{name}/
@@ -219,6 +224,9 @@ rm %{buildroot}%{_libdir}/%{name}/Generics/gentest.icl
 %doc doc/*
 
 %changelog
+* Fri Jul 20 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 2.4-11
+- Fixed the things in EPEL/GuidelinesAndPolicys for the import into EPEL5 and EPEL6
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list