From 8da1d6b29a14370134dc705ddc04e9f7966c452f Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Tue, 24 Mar 2009 09:23:14 +0000 Subject: [PATCH] New upstream release. spec file cleanup. --- .cvsignore | 2 +- resource-agents.spec | 16 ++++++++++------ sources | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.cvsignore b/.cvsignore index a8db081..ec4b740 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -resource-agents-3.0.0.beta1.tar.gz +resource-agents-3.0.0.rc1.tar.gz diff --git a/resource-agents.spec b/resource-agents.spec index 93812d3..733bb92 100644 --- a/resource-agents.spec +++ b/resource-agents.spec @@ -14,12 +14,12 @@ # http://www.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html # keep around ready for later user -%define alphatag beta1 +%define alphatag rc1 Name: resource-agents Summary: Open Source HA Resource Agents for Red Hat Cluster Version: 3.0.0 -Release: 7%{?alphatag:.%{alphatag}}%{?dist} +Release: 8%{?alphatag:.%{alphatag}}%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base URL: http://sources.redhat.com/cluster/wiki/ @@ -31,7 +31,7 @@ Requires: net-tools mount e2fsprogs ## Setup/build bits -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch # Build dependencies (sed / bash) @@ -56,11 +56,11 @@ BuildArch: noarch CFLAGS="$(echo '%{optflags}')" make -C rgmanager/src/resources %install -rm -rf $RPM_BUILD_ROOT -make -C rgmanager/src/resources install DESTDIR=$RPM_BUILD_ROOT +rm -rf %{buildroot} +make -C rgmanager/src/resources install DESTDIR=%{buildroot} %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %description Red Hat Resource Agents provides a set of scripts to interface with several @@ -72,6 +72,10 @@ services to operate in a High Availability environment. %{_datadir}/cluster %changelog +* Tue Mar 24 2009 Fabio M. Di Nitto - 3.0.0-8.rc1 +- New upstream release. +- Update BuildRoot usage to preferred versions/names + * Mon Mar 9 2009 Fabio M. Di Nitto - 3.0.0-7.beta1 - New upstream release. diff --git a/sources b/sources index 6c81967..88ba0fa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b45a4e4152b3817f208fb64214a1526 resource-agents-3.0.0.beta1.tar.gz +0ec51a4e63e88bcfd123fb8980d8da7d resource-agents-3.0.0.rc1.tar.gz