Hello community,

here is the log from the commit of package fence-agents for openSUSE:Factory 
checked in at 2016-01-28 17:24:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fence-agents (Old)
 and      /work/SRC/openSUSE:Factory/.fence-agents.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fence-agents"

Changes:
--------
--- /work/SRC/openSUSE:Factory/fence-agents/fence-agents.changes        
2016-01-15 10:41:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.fence-agents.new/fence-agents.changes   
2016-01-28 17:25:38.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Jan 27 10:27:41 UTC 2016 - [email protected]
+
+- Package fence_dummy in fence-agents-devel package
+- Clean up package 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fence-agents.spec ++++++
--- /var/tmp/diff_new_pack.bDgWKC/_old  2016-01-28 17:25:38.000000000 +0100
+++ /var/tmp/diff_new_pack.bDgWKC/_new  2016-01-28 17:25:38.000000000 +0100
@@ -27,15 +27,10 @@
 Url:            https://github.com/ClusterLabs/fence-agents
 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
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  fdupes
 BuildRequires:  glibc-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-tools
@@ -53,20 +48,16 @@
 BuildRequires:  python-xml
 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:       openssh
 Requires:       perl-Net-Telnet
+Requires:       python-curl
+Requires:       python-openssl
+Requires:       python-pexpect
+Requires:       python-requests
+Requires:       python-suds
 Requires:       sg3_utils
 Requires:       telnet
-# for fence_vmware_soap:
-Requires:       python-suds
 # This is required by fence_virsh. Per discussion on fedora-devel
 # switching from package to file based require.
 Requires:       /usr/bin/virsh
@@ -75,83 +66,23 @@
 # have changed Requires around. Make sure to get the right one.
 Requires:       /usr/bin/ipmitool
 
+%if 0%{?with_regression_tests}
+BuildRequires:  time
+%endif
+
 %description
 Fence Agents is a collection of scripts to handle remote power
 management for several devices.
 
+%package devel
+Summary:        Fence Agents for Pacemaker from RHCS
+Group:          Development/Tools/Other
+Requires:       %{name} = %{version}
 
-
-Authors:
---------
-    Abhijith Das <[email protected]>
-    Adam Manthei <[email protected]>
-    A. J. Lewis <[email protected]>
-    Alasdair G. Kergon <[email protected]>
-    Andrew Price <[email protected]>
-    Benjamin Marzinski <[email protected]>
-    Bob Peterson <[email protected]>
-    Chris Feist <[email protected]>
-    Christine Caulfield <[email protected]>
-    Daniel Phillips <[email protected]>
-    David Teigland <[email protected]>
-    Fabio M. Di Nitto <[email protected]>
-    James Parsons <[email protected]>
-    Joel Becker <[email protected]>
-    Jonathan Brassow <[email protected]>
-    jparsons <[email protected]>
-    Ken Preslan <[email protected]>
-    Lon Hohberger <[email protected]>
-    Marc - A. Dahlhaus <[email protected]>
-    Marek 'marx' Grac <[email protected]>
-    Mark Hlawatschek <[email protected]>
-    Michael Conrad Tadpol Tilstra <[email protected]>
-    Patrick Caulfield <[email protected]>
-    Robert Peterson <[email protected]>
-    Ross Vandegrift <[email protected]>
-    Ryan McCabe <[email protected]>
-    Ryan O'Hara <[email protected]>
-    Stanko Kupcevic <[email protected]>
-    Steven Whitehouse <[email protected]>
-    Wendy Cheng <[email protected]>
-
-%description -n fence-agents-unsupported
+%description devel
 Fence Agents is a collection of scripts to handle remote power
-management for several devices.
-
-
-
-Authors:
---------
-    Abhijith Das <[email protected]>
-    Adam Manthei <[email protected]>
-    A. J. Lewis <[email protected]>
-    Alasdair G. Kergon <[email protected]>
-    Andrew Price <[email protected]>
-    Benjamin Marzinski <[email protected]>
-    Bob Peterson <[email protected]>
-    Chris Feist <[email protected]>
-    Christine Caulfield <[email protected]>
-    Daniel Phillips <[email protected]>
-    David Teigland <[email protected]>
-    Fabio M. Di Nitto <[email protected]>
-    James Parsons <[email protected]>
-    Joel Becker <[email protected]>
-    Jonathan Brassow <[email protected]>
-    jparsons <[email protected]>
-    Ken Preslan <[email protected]>
-    Lon Hohberger <[email protected]>
-    Marc - A. Dahlhaus <[email protected]>
-    Marek 'marx' Grac <[email protected]>
-    Mark Hlawatschek <[email protected]>
-    Michael Conrad Tadpol Tilstra <[email protected]>
-    Patrick Caulfield <[email protected]>
-    Robert Peterson <[email protected]>
-    Ross Vandegrift <[email protected]>
-    Ryan McCabe <[email protected]>
-    Ryan O'Hara <[email protected]>
-    Stanko Kupcevic <[email protected]>
-    Steven Whitehouse <[email protected]>
-    Wendy Cheng <[email protected]>
+management for several devices. This package contains
+fence agents only suitable for development.
 
 %prep
 %setup -q -n %{name}-%{version}
@@ -168,42 +99,38 @@
 
 ## tree fix up
 # fix libfence permissions
-chmod 0755 %{buildroot}%{_datadir}/fence/*.py
+chmod 0755 %{buildroot}%{_datadir}/fence/fenc*.py
 # remove docs
 rm -rf %{buildroot}/usr/share/doc/fence-agents
 # create links to agents in the plugins dir
 mkdir -p %{buildroot}%{plugin_dir}
 ln -s %{_sbindir}/fence_cisco_ucs %{buildroot}%{plugin_dir}
+%fdupes %buildroot%{_sbindir}
+%fdupes %buildroot%{_datadir}/cluster
 
-%clean
-if
-  [ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ]
-then
-  rm -rf $RPM_BUILD_ROOT
-fi
+%if 0%{?with_regression_tests}
+%check
+make check
+PYTHONPATH=fence/agents/lib python fence/agents/lib/tests/test_fencing.py
+%endif
 
 %files
 %defattr(-,root,root,-)
 %doc doc/COPYING.* doc/COPYRIGHT doc/README.licence
-#%%dir %%{_sysconfdir}/cluster
 %dir %{plugin_dir}
 %dir %{_libdir}/stonith/plugins
 %dir %{_libdir}/stonith
 %{_datadir}/fence
 %{_datadir}/cluster
-#%%{_sbindir}/fence_cisco_ucs
-#%%{_mandir}/man8/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_*
-#%%exclude %%{_sbindir}/fence_cisco_ucs
 %exclude %{_sbindir}/fence_dummy
 %exclude %{_mandir}/man8/fence_dummy*
 %{_mandir}/man8/fence_*
-#%%exclude %%{_mandir}/man8/fence_cisco_ucs*
 %{_libexecdir}/fence_*
 
+%files devel
+%{_sbindir}/fence_dummy
+%{_mandir}/man8/fence_dummy*
+
 %changelog


Reply via email to