Hello community,

here is the log from the commit of package pdsh for openSUSE:Leap:15.2 checked 
in at 2020-05-12 11:39:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/pdsh (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.pdsh.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pdsh"

Tue May 12 11:39:49 2020 rev:27 rq:797522 version:2.34

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/pdsh/pdsh.changes      2020-01-15 
15:39:38.643120700 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.pdsh.new.2738/pdsh.changes    2020-05-12 
11:40:22.144748782 +0200
@@ -1,0 +2,77 @@
+Sat Apr 18 06:04:16 UTC 2020 - Egbert Eich <[email protected]>
+
+- Bring QA to the package build: add %%check stage
+
+-------------------------------------------------------------------
+Fri Apr 10 09:28:25 UTC 2020 - Egbert Eich <[email protected]>
+
+- Since the build for the SLE-12 HPC Module got fixed, simplify
+  spec file and remove legacy workarounds.
+- Remove _multibuild file where not needed.
+
+-------------------------------------------------------------------
+Tue Mar 31 17:27:24 UTC 2020 - Egbert Eich <[email protected]>
+
+- Add better legacy support.
+- Make sure to not ship duplicate files with builds for multiple
+  SLURM versions.
+
+-------------------------------------------------------------------
+Fri Mar 27 10:43:08 UTC 2020 - Egbert Eich <[email protected]>
+
+- Define %%make_build for all products that do have it defined.
+
+-------------------------------------------------------------------
+Thu Mar 26 11:18:28 UTC 2020 - Egbert Eich <[email protected]>
+
+- Do not build for SLURM on 32bit platforms on Factory: SLURM 20.02
+  doesn't support this.
+
+-------------------------------------------------------------------
+Thu Mar 26 09:22:03 UTC 2020 - Ana Guerrero Lopez <[email protected]>
+
+- Spec cleanup 
+
+-------------------------------------------------------------------
+Wed Mar 25 19:40:21 UTC 2020 - Egbert Eich <[email protected]>
+
+- Update to version pdsh-2.34 (2020-01-07) (bsc#1167704)
+  * Fix for output corruption with no newlines (#114)
+  * pipecmd: fix result check error handling (Dylan Simon)
+  * slurm: workaround slurm export of internal List interfaces
+  * readline: add application name as argv[0] (#112)
+  * Fix errors from lgtm.com scan
+- Remove obsolete patches:
+  Change-typedef-List-to-typedef-xList.patch
+  pdsh-rename-list-to-xlist.patch
+  
+-------------------------------------------------------------------
+Tue Feb 18 08:47:20 UTC 2020 - Egbert Eich <[email protected]>
+
+- Add Change-typedef-List-to-typedef-xList.patch:
+  * Change 'typedef List' to 'typedef xList'.
+    Since SLURM exposes a type List in its public API without proper
+    namespacing we need to change this type in pdsh.
+    To remain compatible with older versions of SLURM whose type List
+    was identical to pdsh's we need to rename not only the struct.
+
+-------------------------------------------------------------------
+Sat Dec  7 18:19:42 UTC 2019 - Egbert Eich <[email protected]>
+
+- Add support for an alternative SLURM version when building the
+  slurm plugin.
+- Use %license macro
+
+-------------------------------------------------------------------
+Thu Mar 29 13:34:48 UTC 2018 - [email protected]
+
+- removed patch: pdsh-exclude-slurm-list-namespace.patch:
+  Patch is not an acceptable work-around for upstream
+- added patch: pdsh-rename-list-to-xlist.patch
+  Renamed 'struct list' to 'struct xlist' to match upstream slurm
+  change (bsc#1086736).
+  Original upstream commit message:
+    to avoid name collisions with c++ list types. gdb started showing
+    the wrong type when the full lib was created.
+
+-------------------------------------------------------------------

Old:
----
  pdsh-2.33.tar.gz
  pdsh-exclude-slurm-list-namespace.patch

New:
----
  pdsh-2.34.tar.gz

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

Other differences:
------------------
++++++ pdsh.spec ++++++
--- /var/tmp/diff_new_pack.sjG9zS/_old  2020-05-12 11:40:22.464749454 +0200
+++ /var/tmp/diff_new_pack.sjG9zS/_new  2020-05-12 11:40:22.468749463 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pdsh
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,39 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 #
+%define slurm_version @BUILD_FLAVOR@%{nil}
+
+%if "%slurm_version" != ""
+%define _slurm_version _%{slurm_version}
+%endif
+
 %if 0%{!?sle_version:1} || 0%{?sle_version} >= 120300 || (0%{!?is_opensuse:1} 
&& 0%{?sle_version} >= 120200)
 %define have_munge 1
 %define have_slurm 1
 %define have_genders 1
 %endif
+%if 0%{?suse_version} >= 1550
+ %ifarch %ix86 %arm ppc
+   %define have_slurm 0
+ %endif
+%endif
+
+%if !0%{?have_slurm} && 0%{?_slurm_version:1}
+ExclusiveArch:  do_not_build
+%endif
 
-Name:           pdsh
+%define pname pdsh
+Name:           %{pname}%{?_slurm_version:_slurm%{?_slurm_version}}
 BuildRequires:  dejagnu
 BuildRequires:  openssh
 BuildRequires:  readline-devel
 %if 0%{?have_slurm}
-BuildRequires:  slurm-devel
+BuildRequires:  slurm%{?_slurm_version}-devel
 %endif
 %if 0%{?have_munge}
 BuildRequires:  munge-devel
@@ -38,38 +54,33 @@
 %if 0%{?have_genders}
 BuildRequires:  genders-devel > 1.0
 %endif
-Url:            http://pdsh.googlecode.com/
-Version:        2.33
+URL:            http://pdsh.googlecode.com/
+Version:        2.34
 Release:        0
 Summary:        Parallel remote shell program
 # git clone of https://code.google.com/p/pdsh/
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Clustering/Computing
-Source:         
https://github.com/chaos/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
-Patch1:         pdsh-exclude-slurm-list-namespace.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# Prereq: 
-# Set this to 1 to build with genders support and framework for
-# running Elan jobs.
-%define chaos 0
+Source:         
https://github.com/chaos/%{pname}/releases/download/%{pname}-%{version}/%{pname}-%{version}.tar.gz
 
 %description
 Pdsh is a multithreaded remote shell client which executes commands on
 multiple remote hosts in parallel.  Pdsh can use several different
 remote shell services, including Kerberos IV and ssh.
 
-%if 0%{?have_slurm}
-%package slurm
+%package -n     %{pname}-slurm%{?_slurm_version}
 Summary:        SLURM plugin for pdsh
 Group:          Productivity/Clustering/Computing
-Requires:       pdsh = %{version}
-Enhances:       slurm
+%{?_slurm_version:BuildRequires:  %pname}
+Requires:       %pname = %{version}
+Enhances:       slurm%{?_slurm_version}
+%if 0%{?_slurm_version:1}
+Provides:       %{pname}-slurm = %{version}
+%endif
 
-%description slurm
+%description -n %{pname}-slurm%{?_slurm_version}
 Plugin for pdsh to determine nodes to run on by SLURM jobs or partitions.
-%endif
 
-%if 0%{?have_genders}
 %package genders
 Summary:        Genders plugin for pdsh
 Group:          Productivity/Clustering/Computing
@@ -80,7 +91,6 @@
 
 %description genders
 Plugin for pdsh to determine nodes to run on by genders attributes.
-%endif
 
 %package machines
 Summary:        Machines plugin for pdsh
@@ -112,71 +122,78 @@
 Plugin for pdsh to determine nodes to run on from netgroups.
 
 %prep
-%setup -q 
-%patch1 -p1
+%setup -q -n %{pname}-%{version}
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure \
+%if 0%{?_slurm_version:1}
+        --without-exec \
+%else    
        --with-readline \
-       --with-machines=/etc/pdsh/machines \
+       --with-machines=%{_sysconfdir}/pdsh/machines \
        --with-ssh \
        --with-dshgroups \
        --with-netgroup \
         --with-rcmd-rank-list="ssh %{?have_munge:mrsh} krb4 qsh mqsh exec 
xcpu" \
         --with-pam \
-        --with-exec \
         %{?have_genders:--with-genders} \
         %{?have_munge:--with-mrsh} \
+%endif 
         %{?have_slurm:--with-slurm} \
        --without-rsh \
        --disable-static
-make
+%if 0%{!?make_build:1}
+# accomodate < SLE-15
+ %define make_build make %{?_smp_mflags}
+%endif
+%make_build
 
 %install
+%{?_slurm_version:cd src/modules}
 %make_install
-rm -f %buildroot/%_libdir/pdsh/*.la
+rm -f %buildroot/%{_libdir}/pdsh/*.la
+
+%if !0%{?_slurm_version:1}
+%check
+make check
 
 %files
-%defattr(-,root,root)
-%doc README DISCLAIMER.* README.* NEWS COPYING TODO
-%attr(755, root, root) /usr/bin/pdsh
-%attr(755, root, root) /usr/bin/pdcp 
-/usr/bin/dshbak
-/usr/bin/rpdcp
+%doc README DISCLAIMER.* README.* NEWS TODO
+%license COPYING
+%attr(755, root, root) %{_bindir}/pdsh
+%attr(755, root, root) %{_bindir}/pdcp 
+%{_bindir}/dshbak
+%{_bindir}/rpdcp
 %{_mandir}/man1/pdsh.1.gz
 %{_mandir}/man1/pdcp.1.gz
 %{_mandir}/man1/dshbak.1.gz
 %{_mandir}/man1/rpdcp.1.gz
-%_libdir/pdsh
-%{?have_genders:%exclude %_libdir/pdsh/genders.so}
-%{?have_slurm:%exclude %_libdir/pdsh/slurm.so}
-%exclude %_libdir/pdsh/machines.so
-%exclude %_libdir/pdsh/dshgroup.so
-%exclude %_libdir/pdsh/netgroup.so
-
-%if 0%{?have_slurm}
-%files slurm
-%defattr(-,root,root)
-%_libdir/pdsh/slurm.so
-%endif
+%{_libdir}/pdsh
+%{?have_genders:%exclude %{_libdir}/pdsh/genders.so}
+%{?have_slurm:%exclude %{_libdir}/pdsh/slurm.so}
+%exclude %{_libdir}/pdsh/machines.so
+%exclude %{_libdir}/pdsh/dshgroup.so
+%exclude %{_libdir}/pdsh/netgroup.so
 
 %if 0%{?have_genders}
 %files genders
-%defattr(-,root,root)
-%_libdir/pdsh/genders.so
+%{_libdir}/pdsh/genders.so
 %endif
 
 %files machines
-%defattr(-,root,root)
-%_libdir/pdsh/machines.so
+%{_libdir}/pdsh/machines.so
 
 %files dshgroup
-%defattr(-,root,root)
-%_libdir/pdsh/dshgroup.so
+%{_libdir}/pdsh/dshgroup.so
 
 %files netgroup
-%defattr(-,root,root)
-%_libdir/pdsh/netgroup.so
+%{_libdir}/pdsh/netgroup.so
+%endif # if _slurm_version
+
+%if 0%{?have_slurm}
+%files -n %{pname}-slurm%{?_slurm_version}
+%{_libdir}/pdsh/slurm.so
+%endif
 
 %changelog

++++++ pdsh-2.33.tar.gz -> pdsh-2.34.tar.gz ++++++
++++ 23155 lines of diff (skipped)


Reply via email to