rpms/fence-agents/devel .cvsignore, 1.5, 1.6 fence-agents.spec, 1.7, 1.8 sources, 1.5, 1.6

Fabio M. Di Nitto fabbione at fedoraproject.org
Tue Mar 24 09:17:01 UTC 2009


Author: fabbione

Update of /cvs/pkgs/rpms/fence-agents/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30710

Modified Files:
	.cvsignore fence-agents.spec sources 
Log Message:
New upstream release.

spec file cleanup.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/fence-agents/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore	9 Mar 2009 10:37:24 -0000	1.5
+++ .cvsignore	24 Mar 2009 09:16:31 -0000	1.6
@@ -1 +1 @@
-fence-agents-3.0.0.beta1.tar.gz
+fence-agents-3.0.0.rc1.tar.gz


Index: fence-agents.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fence-agents/devel/fence-agents.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- fence-agents.spec	12 Mar 2009 12:45:32 -0000	1.7
+++ fence-agents.spec	24 Mar 2009 09:16:31 -0000	1.8
@@ -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: fence-agents
 Summary: Fence Agents for Red Hat Cluster
 Version: 3.0.0
-Release: 9%{?alphatag:.%{alphatag}}%{?dist}
+Release: 10%{?alphatag:.%{alphatag}}%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Base
 URL: http://sources.redhat.com/cluster/wiki/
@@ -37,17 +37,17 @@
 %define buildvirt 1
 %endif
 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 # Build dependencies
 BuildRequires: perl python
 BuildRequires: glibc-devel
-BuildRequires: libxml2-devel
-BuildRequires: clusterlib-devel >= 3.0.0
-BuildRequires: corosynclib-devel >= 0.94-3
-BuildRequires: openaislib-devel >= 0.93-2
 
 %if %{buildvirt}
+BuildRequires: libxml2-devel
+BuildRequires: clusterlib-devel >= 3.0.0
+BuildRequires: corosynclib-devel >= 0.95-1
+BuildRequires: openaislib-devel >= 0.94-1
 BuildRequires: nss-devel nspr-devel libvirt-devel
 %endif
 
@@ -64,9 +64,8 @@
   --libdir=%{_libdir} \
 %if %{buildvirt}
   --enable_virt \
-%endif
-  --corosynclibdir=%{_libdir}/corosync \
   --openaislibdir=%{_libdir}/openais \
+%endif
   --disable_kernel_check
 
 ##CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
@@ -74,17 +73,17 @@
 CFLAGS="$(echo '%{optflags}')" make -C fence/agents
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make -C fence/agents install DESTDIR=$RPM_BUILD_ROOT
-make -C fence/man install DESTDIR=$RPM_BUILD_ROOT
+rm -rf %{buildroot}
+make -C fence/agents install DESTDIR=%{buildroot}
+make -C fence/man install DESTDIR=%{buildroot}
 
 ## tree fix up
 # fix libfence permissions
-chmod 0755 $RPM_BUILD_ROOT%{_datadir}/fence/*.py
-chmod 0755 $RPM_BUILD_ROOT%{_datadir}/fence/telnet_ssl
+chmod 0755 %{buildroot}%{_datadir}/fence/*.py
+chmod 0755 %{buildroot}%{_datadir}/fence/telnet_ssl
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %description
 Red Hat Fence Agents is a collection of scripts to handle remote
@@ -95,10 +94,16 @@
 %doc doc/COPYING.* doc/COPYRIGHT doc/README.licence
 %{_sbindir}/fence*
 %{_datadir}/fence
-%{_datadir}/snmp/mibs/*
 %{_mandir}/man8/fence*
 
 %changelog
+* Tue Mar 24 2009 Fabio M. Di Nitto <fdinitto at redhat.com> - 3.0.0-10.rc1
+- New upstream release.
+- Cleanup BuildRequires to avoid to pull in tons of stuff when it's not
+  required.
+- Update BuildRoot usage to preferred versions/names.
+- Stop shipping powermib. Those are not required for operations anymore.
+
 * Thu Mar 12 2009 Fabio M. Di Nitto <fdinitto at redhat.com> - 3.0.0-9.beta1
 - Fix arch check for virt support.
 - Drop unrequired BuildRequires.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/fence-agents/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	9 Mar 2009 10:37:24 -0000	1.5
+++ sources	24 Mar 2009 09:16:31 -0000	1.6
@@ -1 +1 @@
-85f5b2d70ec9fcccbf84d20b9016fe82  fence-agents-3.0.0.beta1.tar.gz
+a680218a4d297608232f51281445e150  fence-agents-3.0.0.rc1.tar.gz




More information about the fedora-extras-commits mailing list