[gold] Rebuild for new perl, cleanup spec file

Peter Robinson pbrobinson at fedoraproject.org
Tue Oct 11 12:14:12 UTC 2011


commit 56a1d0bd496badd15e9de46911d2b72139c6465e
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Oct 11 13:14:09 2011 +0100

    Rebuild for new perl, cleanup spec file

 gold.spec |   53 +++++++++++++++++++++++++----------------------------
 1 files changed, 25 insertions(+), 28 deletions(-)
---
diff --git a/gold.spec b/gold.spec
index 0c48599..03c69de 100644
--- a/gold.spec
+++ b/gold.spec
@@ -1,34 +1,33 @@
-Name:				gold
-Version:			2.1.12.2
-Release:			6%{?dist}
-Summary:			Tracks and manages resource usage on High Performance Computers
-Vendor:				Cluster Resources
-Group:				Applications/Internet
-License:			BSD
-URL:				http://www.clusterresources.com/products/%{name}
-Source0:			http://www.clusterresources.com/downloads/%{name}/%{name}-%{version}.tar.gz
+%define goldcgidir	%{_datadir}/%{name}-%{version}
+%define golddatadir	%{_localstatedir}/lib/%{name}
+
+Name:		gold
+Version:	2.1.12.2
+Release:	7%{?dist}
+Summary:	Tracks and manages resource usage on High Performance Computers
+Vendor:		Cluster Resources
+Group:		Applications/Internet
+License:	BSD
+URL:		http://www.clusterresources.com/products/%{name}
+Source0:	http://www.clusterresources.com/downloads/%{name}/%{name}-%{version}.tar.gz
 # These patches are to make it build happily under rpm and mock - they have
 # been submitted upstream (see the thread at
 # http://www.supercluster.org/pipermail/gold-users/2010-July/000343.html for
 # more info).
-Patch0:				gold-makefile.patch
-Patch1:				gold-configure-ac.patch
-Buildroot:			%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%define goldcgidir	%{_datadir}/%{name}-%{version}
-%define golddatadir	%{_localstatedir}/lib/%{name}
+Patch0:		gold-makefile.patch
+Patch1:		gold-configure-ac.patch
 
-BuildArch:			noarch 
-Requires(pre):		shadow-utils
-Requires:			perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:			sqlite
+BuildArch:	noarch 
+Requires(pre):	shadow-utils
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	sqlite
 
 # For some reason, these requires are missed:
-Requires:			perl(Data::Properties)
-Requires:			perl(Crypt::DES_EDE3)
+Requires:	perl(Data::Properties)
+Requires:	perl(Crypt::DES_EDE3)
 
-BuildRequires:		autoconf
-BuildRequires:		perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:	autoconf
+BuildRequires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 The Gold Allocation Manager is an open source accounting system developed by
@@ -85,8 +84,6 @@ EOF
 chmod +x %{__perl_requires}
 
 %install
-rm -rf %{buildroot}
-
 ## Install documentation
 mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
 
@@ -151,9 +148,6 @@ done
 # This target, although it exists, does nothing at present
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %pre
 ## Add the "gold" group
 getent group gold >/dev/null || groupadd -r gold
@@ -194,6 +188,9 @@ fi
 %{goldcgidir}/*
 
 %changelog
+* Tue Oct 11 2011 Peter Robinson <pbrobinson at fedoraproject.org> - 2.1.12.2-7
+- Rebuild for new perl, cleanup spec file
+
 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.1.12.2-6
 - Perl mass rebuild
 


More information about the scm-commits mailing list