Accepting request 356263 from network:ha-clustering:Factory
- Package fence_dummy in fence-agents-devel package - Clean up package OBS-URL: https://build.opensuse.org/request/show/356263 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fence-agents?expand=0&rev=23
This commit is contained in:
commit
a9800a439f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 27 10:27:41 UTC 2016 - kgronlund@suse.com
|
||||||
|
|
||||||
|
- Package fence_dummy in fence-agents-devel package
|
||||||
|
- Clean up package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 13 14:06:20 UTC 2016 - kgronlund@suse.com
|
Wed Jan 13 14:06:20 UTC 2016 - kgronlund@suse.com
|
||||||
|
|
||||||
|
@ -27,15 +27,10 @@ Release: 0
|
|||||||
Url: https://github.com/ClusterLabs/fence-agents
|
Url: https://github.com/ClusterLabs/fence-agents
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Requires: python-curl
|
|
||||||
Requires: python-openssl
|
|
||||||
Requires: python-pexpect
|
|
||||||
Requires: python-requests
|
|
||||||
Requires: python-suds
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libxml2-tools
|
BuildRequires: libxml2-tools
|
||||||
@ -53,20 +48,16 @@ BuildRequires: python-suds
|
|||||||
BuildRequires: python-xml
|
BuildRequires: python-xml
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
|
||||||
%package -n fence-agents-unsupported
|
|
||||||
Summary: Fence Agents for Pacemaker from RHCS
|
|
||||||
Group: Productivity/Clustering/HA
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
# These are requirements of specific fencing agents; when moving the
|
|
||||||
# agent over to the supported main package, make sure to also shift the
|
|
||||||
# Requires if needed
|
|
||||||
Requires: net-snmp
|
Requires: net-snmp
|
||||||
Requires: openssh
|
Requires: openssh
|
||||||
Requires: perl-Net-Telnet
|
Requires: perl-Net-Telnet
|
||||||
|
Requires: python-curl
|
||||||
|
Requires: python-openssl
|
||||||
|
Requires: python-pexpect
|
||||||
|
Requires: python-requests
|
||||||
|
Requires: python-suds
|
||||||
Requires: sg3_utils
|
Requires: sg3_utils
|
||||||
Requires: telnet
|
Requires: telnet
|
||||||
# for fence_vmware_soap:
|
|
||||||
Requires: python-suds
|
|
||||||
# This is required by fence_virsh. Per discussion on fedora-devel
|
# This is required by fence_virsh. Per discussion on fedora-devel
|
||||||
# switching from package to file based require.
|
# switching from package to file based require.
|
||||||
Requires: /usr/bin/virsh
|
Requires: /usr/bin/virsh
|
||||||
@ -75,83 +66,23 @@ Requires: /usr/bin/virsh
|
|||||||
# have changed Requires around. Make sure to get the right one.
|
# have changed Requires around. Make sure to get the right one.
|
||||||
Requires: /usr/bin/ipmitool
|
Requires: /usr/bin/ipmitool
|
||||||
|
|
||||||
|
%if 0%{?with_regression_tests}
|
||||||
|
BuildRequires: time
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Fence Agents is a collection of scripts to handle remote power
|
Fence Agents is a collection of scripts to handle remote power
|
||||||
management for several devices.
|
management for several devices.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Fence Agents for Pacemaker from RHCS
|
||||||
|
Group: Development/Tools/Other
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Abhijith Das <adas@redhat.com>
|
|
||||||
Adam Manthei <amanthei@redhat.com>
|
|
||||||
A. J. Lewis <alewis@redhat.com>
|
|
||||||
Alasdair G. Kergon <agk@redhat.com>
|
|
||||||
Andrew Price <andy@andrewprice.me.uk>
|
|
||||||
Benjamin Marzinski <bmarzins@redhat.com>
|
|
||||||
Bob Peterson <rpeterso@redhat.com>
|
|
||||||
Chris Feist <cfeist@redhat.com>
|
|
||||||
Christine Caulfield <ccaulfie@redhat.com>
|
|
||||||
Daniel Phillips <phillips@redhat.com>
|
|
||||||
David Teigland <teigland@redhat.com>
|
|
||||||
Fabio M. Di Nitto <fdinitto@redhat.com>
|
|
||||||
James Parsons <jparsons@redhat.com>
|
|
||||||
Joel Becker <joel.becker@oracle.com>
|
|
||||||
Jonathan Brassow <jbrassow@redhat.com>
|
|
||||||
jparsons <jparsons@redhat.com>
|
|
||||||
Ken Preslan <kpreslan@redhat.com>
|
|
||||||
Lon Hohberger <lhh@redhat.com>
|
|
||||||
Marc - A. Dahlhaus <mad@wol.de>
|
|
||||||
Marek 'marx' Grac <mgrac@redhat.com>
|
|
||||||
Mark Hlawatschek <hlawatschek@atix.de>
|
|
||||||
Michael Conrad Tadpol Tilstra <mtilstra@redhat.com>
|
|
||||||
Patrick Caulfield <pcaulfie@redhat.com>
|
|
||||||
Robert Peterson <rpeterso@redhat.com>
|
|
||||||
Ross Vandegrift <ross@kallisti.us>
|
|
||||||
Ryan McCabe <rmccabe@redhat.com>
|
|
||||||
Ryan O'Hara <rohara@redhat.com>
|
|
||||||
Stanko Kupcevic <kupcevic@redhat.com>
|
|
||||||
Steven Whitehouse <swhiteho@redhat.com>
|
|
||||||
Wendy Cheng <wcheng@redhat.com>
|
|
||||||
|
|
||||||
%description -n fence-agents-unsupported
|
|
||||||
Fence Agents is a collection of scripts to handle remote power
|
Fence Agents is a collection of scripts to handle remote power
|
||||||
management for several devices.
|
management for several devices. This package contains
|
||||||
|
fence agents only suitable for development.
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Abhijith Das <adas@redhat.com>
|
|
||||||
Adam Manthei <amanthei@redhat.com>
|
|
||||||
A. J. Lewis <alewis@redhat.com>
|
|
||||||
Alasdair G. Kergon <agk@redhat.com>
|
|
||||||
Andrew Price <andy@andrewprice.me.uk>
|
|
||||||
Benjamin Marzinski <bmarzins@redhat.com>
|
|
||||||
Bob Peterson <rpeterso@redhat.com>
|
|
||||||
Chris Feist <cfeist@redhat.com>
|
|
||||||
Christine Caulfield <ccaulfie@redhat.com>
|
|
||||||
Daniel Phillips <phillips@redhat.com>
|
|
||||||
David Teigland <teigland@redhat.com>
|
|
||||||
Fabio M. Di Nitto <fdinitto@redhat.com>
|
|
||||||
James Parsons <jparsons@redhat.com>
|
|
||||||
Joel Becker <joel.becker@oracle.com>
|
|
||||||
Jonathan Brassow <jbrassow@redhat.com>
|
|
||||||
jparsons <jparsons@redhat.com>
|
|
||||||
Ken Preslan <kpreslan@redhat.com>
|
|
||||||
Lon Hohberger <lhh@redhat.com>
|
|
||||||
Marc - A. Dahlhaus <mad@wol.de>
|
|
||||||
Marek 'marx' Grac <mgrac@redhat.com>
|
|
||||||
Mark Hlawatschek <hlawatschek@atix.de>
|
|
||||||
Michael Conrad Tadpol Tilstra <mtilstra@redhat.com>
|
|
||||||
Patrick Caulfield <pcaulfie@redhat.com>
|
|
||||||
Robert Peterson <rpeterso@redhat.com>
|
|
||||||
Ross Vandegrift <ross@kallisti.us>
|
|
||||||
Ryan McCabe <rmccabe@redhat.com>
|
|
||||||
Ryan O'Hara <rohara@redhat.com>
|
|
||||||
Stanko Kupcevic <kupcevic@redhat.com>
|
|
||||||
Steven Whitehouse <swhiteho@redhat.com>
|
|
||||||
Wendy Cheng <wcheng@redhat.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
@ -168,42 +99,38 @@ 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/fenc*.py
|
||||||
# remove docs
|
# remove docs
|
||||||
rm -rf %{buildroot}/usr/share/doc/fence-agents
|
rm -rf %{buildroot}/usr/share/doc/fence-agents
|
||||||
# create links to agents in the plugins dir
|
# create links to agents in the plugins dir
|
||||||
mkdir -p %{buildroot}%{plugin_dir}
|
mkdir -p %{buildroot}%{plugin_dir}
|
||||||
ln -s %{_sbindir}/fence_cisco_ucs %{buildroot}%{plugin_dir}
|
ln -s %{_sbindir}/fence_cisco_ucs %{buildroot}%{plugin_dir}
|
||||||
|
%fdupes %buildroot%{_sbindir}
|
||||||
|
%fdupes %buildroot%{_datadir}/cluster
|
||||||
|
|
||||||
%clean
|
%if 0%{?with_regression_tests}
|
||||||
if
|
%check
|
||||||
[ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ]
|
make check
|
||||||
then
|
PYTHONPATH=fence/agents/lib python fence/agents/lib/tests/test_fencing.py
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%endif
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/COPYING.* doc/COPYRIGHT doc/README.licence
|
%doc doc/COPYING.* doc/COPYRIGHT doc/README.licence
|
||||||
#%%dir %%{_sysconfdir}/cluster
|
|
||||||
%dir %{plugin_dir}
|
%dir %{plugin_dir}
|
||||||
%dir %{_libdir}/stonith/plugins
|
%dir %{_libdir}/stonith/plugins
|
||||||
%dir %{_libdir}/stonith
|
%dir %{_libdir}/stonith
|
||||||
%{_datadir}/fence
|
%{_datadir}/fence
|
||||||
%{_datadir}/cluster
|
%{_datadir}/cluster
|
||||||
#%%{_sbindir}/fence_cisco_ucs
|
|
||||||
#%%{_mandir}/man8/fence_cisco_ucs*
|
|
||||||
%{plugin_dir}/fence_cisco_ucs
|
%{plugin_dir}/fence_cisco_ucs
|
||||||
|
|
||||||
#%%files -n fence-agents-unsupported
|
|
||||||
#%%defattr(-,root,root,-)
|
|
||||||
#%%config(noreplace) %%{_sysconfdir}/cluster/fence_na.conf
|
|
||||||
%{_sbindir}/fence_*
|
%{_sbindir}/fence_*
|
||||||
#%%exclude %%{_sbindir}/fence_cisco_ucs
|
|
||||||
%exclude %{_sbindir}/fence_dummy
|
%exclude %{_sbindir}/fence_dummy
|
||||||
%exclude %{_mandir}/man8/fence_dummy*
|
%exclude %{_mandir}/man8/fence_dummy*
|
||||||
%{_mandir}/man8/fence_*
|
%{_mandir}/man8/fence_*
|
||||||
#%%exclude %%{_mandir}/man8/fence_cisco_ucs*
|
|
||||||
%{_libexecdir}/fence_*
|
%{_libexecdir}/fence_*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_sbindir}/fence_dummy
|
||||||
|
%{_mandir}/man8/fence_dummy*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user