new upstream release
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
This commit is contained in:
parent
6351e02c32
commit
1a38c039ef
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ fence-agents-3.0.13.tar.bz2
|
|||||||
fence-agents-3.0.14.tar.bz2
|
fence-agents-3.0.14.tar.bz2
|
||||||
/fence-agents-3.0.16.tar.bz2
|
/fence-agents-3.0.16.tar.bz2
|
||||||
/fence-agents-3.0.17.tar.bz2
|
/fence-agents-3.0.17.tar.bz2
|
||||||
|
/fence-agents-3.1.0.tar.xz
|
||||||
|
@ -15,12 +15,12 @@
|
|||||||
|
|
||||||
Name: fence-agents
|
Name: fence-agents
|
||||||
Summary: Fence Agents for Red Hat Cluster
|
Summary: Fence Agents for Red Hat Cluster
|
||||||
Version: 3.0.17
|
Version: 3.1.0
|
||||||
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sources.redhat.com/cluster/wiki/
|
URL: http://sourceware.org/cluster/wiki/
|
||||||
Source0: https://fedorahosted.org/releases/c/l/cluster/%{name}-%{version}.tar.bz2
|
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
## Runtime deps
|
## Runtime deps
|
||||||
Requires: sg3_utils telnet openssh-clients
|
Requires: sg3_utils telnet openssh-clients
|
||||||
@ -43,7 +43,6 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
BuildRequires: perl python
|
BuildRequires: perl python
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: nss-devel nspr-devel
|
BuildRequires: nss-devel nspr-devel
|
||||||
BuildRequires: libxml2-devel libvirt-devel
|
|
||||||
BuildRequires: libxslt pexpect python-pycurl
|
BuildRequires: libxslt pexpect python-pycurl
|
||||||
BuildRequires: clusterlib-devel >= 3.0.0
|
BuildRequires: clusterlib-devel >= 3.0.0
|
||||||
BuildRequires: corosynclib-devel >= 1.2.0-1
|
BuildRequires: corosynclib-devel >= 1.2.0-1
|
||||||
@ -52,27 +51,19 @@ BuildRequires: openaislib-devel >= 1.1.2-1
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
# we inherit configure from cluster project. Configure it for vars we need.
|
|
||||||
# building from source directly without those parameters will NOT work.
|
|
||||||
# See http://www.redhat.com/archives/cluster-devel/2009-February/msg00003.html
|
|
||||||
%build
|
%build
|
||||||
./configure \
|
%{configure}
|
||||||
--sbindir=%{_sbindir} \
|
CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
|
||||||
--initddir=%{_sysconfdir}/rc.d/init.d \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--disable_kernel_check
|
|
||||||
|
|
||||||
##CFLAGS="$(echo '%{optflags}')" make %{_smp_mflags}
|
|
||||||
# %{_smp_mflags} is broken upstream
|
|
||||||
CFLAGS="$(echo '%{optflags}')" make -C fence/agents
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make -C fence/agents install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
## tree fix up
|
## tree fix up
|
||||||
# fix libfence permissions
|
# fix libfence permissions
|
||||||
chmod 0755 %{buildroot}%{_datadir}/fence/*.py
|
chmod 0755 %{buildroot}%{_datadir}/fence/*.py
|
||||||
|
# remove docs
|
||||||
|
rm -rf %{buildroot}/usr/share/doc/fence-agents
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -90,6 +81,15 @@ power management for several devices.
|
|||||||
%{_mandir}/man8/fence*
|
%{_mandir}/man8/fence*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 2 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.0-1
|
||||||
|
- new upstream release
|
||||||
|
- spec file update:
|
||||||
|
Update upstream URL
|
||||||
|
Update source URL
|
||||||
|
Drop unnecessary BuildRequires
|
||||||
|
use standard configure macro
|
||||||
|
use standard make invokation
|
||||||
|
|
||||||
* Thu Oct 6 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.17-1
|
* Thu Oct 6 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.17-1
|
||||||
- new upstream release
|
- new upstream release
|
||||||
Resolves: rhbz#632595, rhbz#633856, rhbz#632385, rhbz#628013
|
Resolves: rhbz#632595, rhbz#633856, rhbz#632385, rhbz#628013
|
||||||
|
Loading…
Reference in New Issue
Block a user