New upstream release.
spec file cleanup.
This commit is contained in:
parent
8eed8835d5
commit
8da1d6b29a
@ -1 +1 @@
|
||||
resource-agents-3.0.0.beta1.tar.gz
|
||||
resource-agents-3.0.0.rc1.tar.gz
|
||||
|
@ -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 <fdinitto@redhat.com> - 3.0.0-8.rc1
|
||||
- New upstream release.
|
||||
- Update BuildRoot usage to preferred versions/names
|
||||
|
||||
* Mon Mar 9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.0-7.beta1
|
||||
- New upstream release.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user