Hello community,

here is the log from the commit of package pdsh for openSUSE:Factory checked in 
at 2020-04-21 13:06:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdsh (Old)
 and      /work/SRC/openSUSE:Factory/.pdsh.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pdsh"

Tue Apr 21 13:06:17 2020 rev:42 rq:795856 version:2.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/pdsh/pdsh.changes        2020-04-04 
12:23:52.791853873 +0200
+++ /work/SRC/openSUSE:Factory/.pdsh.new.2738/pdsh.changes      2020-04-21 
13:06:18.256290179 +0200
@@ -1,0 +2,12 @@
+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.
+
+-------------------------------------------------------------------

Old:
----
  _multibuild

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

Other differences:
------------------
++++++ pdsh.spec ++++++
--- /var/tmp/diff_new_pack.LbzUnU/_old  2020-04-21 13:06:19.116291894 +0200
+++ /var/tmp/diff_new_pack.LbzUnU/_new  2020-04-21 13:06:19.116291894 +0200
@@ -19,23 +19,9 @@
 #
 %define slurm_version @BUILD_FLAVOR@%{nil}
 
-%if "%slurm_version" == ""
-ExclusiveArch:  do_not_build
-%else
-%if "%slurm_version" == "base"
-%define slurm_version %{nil}
-%else
-%define slurm_mod_only 1
+%if "%slurm_version" != ""
 %define _slurm_version _%{slurm_version}
 %endif
-%endif
-
-%if 0%{?suse_version} > 1315 || 0%{?sle_version} > 120200
-%define license_string GPL-2.0-or-later
-%else
-%define legacy 1
-%define license_string GPL-2.0+
-%endif
 
 %if 0%{!?sle_version:1} || 0%{?sle_version} >= 120300 || (0%{!?is_opensuse:1} 
&& 0%{?sle_version} >= 120200)
 %define have_munge 1
@@ -48,7 +34,7 @@
  %endif
 %endif
 
-%if !0%{?have_slurm} && 0%{?slurm_mod_only}
+%if !0%{?have_slurm} && 0%{?_slurm_version:1}
 ExclusiveArch:  do_not_build
 %endif
 
@@ -73,7 +59,7 @@
 Release:        0
 Summary:        Parallel remote shell program
 # git clone of https://code.google.com/p/pdsh/
-License:        %{license_string}
+License:        GPL-2.0-or-later
 Group:          Productivity/Clustering/Computing
 Source:         
https://github.com/chaos/%{pname}/releases/download/%{pname}-%{version}/%{pname}-%{version}.tar.gz
 
@@ -85,7 +71,7 @@
 %package -n     %{pname}-slurm%{?_slurm_version}
 Summary:        SLURM plugin for pdsh
 Group:          Productivity/Clustering/Computing
-%{?slurm_mod_only:BuildRequires:  %pname}
+%{?_slurm_version:BuildRequires:  %pname}
 Requires:       %pname = %{version}
 Enhances:       slurm%{?_slurm_version}
 %if 0%{?_slurm_version:1}
@@ -141,7 +127,7 @@
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure \
-%if 0%{?slurm_mod_only}
+%if 0%{?_slurm_version:1}
         --without-exec \
 %else    
        --with-readline \
@@ -164,15 +150,16 @@
 %make_build
 
 %install
-%{?slurm_mod_only:cd src/modules}
+%{?_slurm_version:cd src/modules}
 %make_install
 rm -f %buildroot/%{_libdir}/pdsh/*.la
-%{?legacy:mkdir -p %{buildroot}/%{_datarootdir}/licenses}
 
-%if !0%{?slurm_mod_only}
+%if !0%{?_slurm_version:1}
+%check
+make check
+
 %files
 %doc README DISCLAIMER.* README.* NEWS TODO
-%{?legacy:%dir %{_datarootdir}/licenses}
 %license COPYING
 %attr(755, root, root) %{_bindir}/pdsh
 %attr(755, root, root) %{_bindir}/pdcp 
@@ -202,7 +189,7 @@
 
 %files netgroup
 %{_libdir}/pdsh/netgroup.so
-%endif # if slurm_mod_only
+%endif # if _slurm_version
 
 %if 0%{?have_slurm}
 %files -n %{pname}-slurm%{?_slurm_version}


Reply via email to