Update to new upstream agents
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
This commit is contained in:
parent
9edcf62f38
commit
f70cb59657
3
.gitignore
vendored
3
.gitignore
vendored
@ -4,3 +4,6 @@ resource-agents-3.0.14.tar.bz2
|
|||||||
/71b1377f907c.tar.bz2
|
/71b1377f907c.tar.bz2
|
||||||
/resource-agents-3.0.17.tar.bz2
|
/resource-agents-3.0.17.tar.bz2
|
||||||
/resource-agents-3.1.0.tar.xz
|
/resource-agents-3.1.0.tar.xz
|
||||||
|
/resource-agents-3.1.1.tar.xz
|
||||||
|
/agents-1.0.4.tar.bz2
|
||||||
|
/1.0.4.tar.bz2
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
# Invoking 'hg archive' wont but you can add one with:
|
# Invoking 'hg archive' wont but you can add one with:
|
||||||
# hg archive -t tgz -p "Cluster-Resource-Agents-" -r $altversion $altversion.tar.gz
|
# hg archive -t tgz -p "Cluster-Resource-Agents-" -r $altversion $altversion.tar.gz
|
||||||
%global altprefix Cluster-Resource-Agents-
|
%global altprefix Cluster-Resource-Agents-
|
||||||
%global altversion 71b1377f907c
|
%global altversion agents-1.0.4
|
||||||
|
|
||||||
Name: resource-agents
|
Name: resource-agents
|
||||||
Summary: Open Source HA Resource Agents for Red Hat Cluster
|
Summary: Open Source HA Resource Agents for Red Hat Cluster
|
||||||
Version: 3.1.0
|
Version: 3.1.1
|
||||||
Release: 2%{?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://sourceware.org/cluster/wiki/
|
URL: http://sourceware.org/cluster/wiki/
|
||||||
@ -121,13 +121,21 @@ make install DESTDIR=%{buildroot}
|
|||||||
make -C %{altprefix}%{altversion} install DESTDIR=%{buildroot}
|
make -C %{altprefix}%{altversion} install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# tree fixup
|
# tree fixup
|
||||||
rm %{buildroot}/%{_libdir}/heartbeat/ocf-*
|
#rm %{buildroot}/%{_libdir}/heartbeat/ocf-*
|
||||||
find %{buildroot} -type f -name '.ocf-*' -exec chmod 644 {} \;
|
find %{buildroot} -type f -name '.ocf-*' -exec chmod 644 {} \;
|
||||||
find %{buildroot} -type f -name 'ocf-*' -exec chmod 644 {} \;
|
find %{buildroot} -type f -name 'ocf-*' -exec chmod 644 {} \;
|
||||||
find %{buildroot} -type f -name '*.dtd' -exec chmod 644 {} \;
|
find %{buildroot} -type f -name '*.dtd' -exec chmod 644 {} \;
|
||||||
chmod 755 %{buildroot}/%{_sbindir}/ocf-tester
|
chmod 755 %{buildroot}/%{_sbindir}/ocf-tester
|
||||||
chmod 755 %{buildroot}/%{_datadir}/cluster/ocf-shellfuncs
|
chmod 755 %{buildroot}/%{_datadir}/cluster/ocf-shellfuncs
|
||||||
|
|
||||||
|
(
|
||||||
|
cd %{buildroot}/usr/lib/ocf/resource.d/heartbeat
|
||||||
|
for f in ocf-binaries ocf-directories ocf-returncodes ocf-shellfuncs
|
||||||
|
do
|
||||||
|
ln -s ../../lib/heartbeat/$f .$f
|
||||||
|
done
|
||||||
|
)
|
||||||
|
|
||||||
# Strange location, remove until we can confirm
|
# Strange location, remove until we can confirm
|
||||||
rm -f %{buildroot}%{_libdir}/heartbeat/tickle_tcp
|
rm -f %{buildroot}%{_libdir}/heartbeat/tickle_tcp
|
||||||
|
|
||||||
@ -169,10 +177,14 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%dir /usr/lib/ocf
|
%dir /usr/lib/ocf
|
||||||
%dir /usr/lib/ocf/resource.d
|
%dir /usr/lib/ocf/resource.d
|
||||||
|
%dir /usr/lib/ocf/lib
|
||||||
|
%dir /usr/lib/ocf/lib/heartbeat
|
||||||
|
/usr/lib/ocf/lib/heartbeat/ocf-*
|
||||||
/usr/lib/ocf/resource.d/heartbeat
|
/usr/lib/ocf/resource.d/heartbeat
|
||||||
/usr/lib/ocf/resource.d/redhat
|
/usr/lib/ocf/resource.d/redhat
|
||||||
%{_sbindir}/ocf-tester
|
%{_sbindir}/ocf-tester
|
||||||
%{_sbindir}/sfex_init
|
%{_sbindir}/sfex_init
|
||||||
|
%{_sbindir}/sfex_stat
|
||||||
|
|
||||||
%dir %{_datadir}/resource-agents
|
%dir %{_datadir}/resource-agents
|
||||||
%doc %{_datadir}/resource-agents/ra-api-1.dtd
|
%doc %{_datadir}/resource-agents/ra-api-1.dtd
|
||||||
@ -201,6 +213,9 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 1 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.1.1-1
|
||||||
|
- new upstream release 3.1.1 and 1.0.4
|
||||||
|
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-2
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user