Hello community,

here is the log from the commit of package mdtest for openSUSE:Factory checked 
in at 2019-12-14 12:18:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mdtest (Old)
 and      /work/SRC/openSUSE:Factory/.mdtest.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mdtest"

Sat Dec 14 12:18:00 2019 rev:5 rq:756801 version:1.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mdtest/mdtest.changes    2017-10-27 
14:00:42.210030792 +0200
+++ /work/SRC/openSUSE:Factory/.mdtest.new.4691/mdtest.changes  2019-12-14 
12:23:28.931198388 +0100
@@ -1,0 +2,5 @@
+Fri Dec 13 11:38:31 UTC 2019 - Martin Pluskal <[email protected]>
+
+- Cleanup spec file and use macros for mpi implementaion selection
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mdtest.spec ++++++
--- /var/tmp/diff_new_pack.smagcz/_old  2019-12-14 12:23:29.307198331 +0100
+++ /var/tmp/diff_new_pack.smagcz/_new  2019-12-14 12:23:29.307198331 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mdtest
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -20,12 +20,11 @@
 Version:        1.9.3
 Release:        0
 Summary:        An MPI-coordinated test that performs operations on files and 
directories
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/Benchmark
-Url:            http://mdtest.sourceforge.net/
+URL:            http://mdtest.sourceforge.net/
 Source:         
http://sourceforge.net/projects/mdtest/files/mdtest%%20latest/%{name}-%{version}/%{name}-%{version}.tgz
-BuildRequires:  openmpi2-devel
-Requires:       openmpi2
+BuildRequires:  openmpi-macros-devel
 
 %description
 mdtest is an MPI-coordinated metadata benchmark test that performs
@@ -37,15 +36,19 @@
 chmod -x RELEASE_LOG README COPYRIGHT
 
 %build
-make %{?_smp_mflags} MDTEST_FLAGS="%{optflags}" 
MPI_CC="%{_libdir}/mpi/gcc/openmpi2/bin/mpicc"
+%setup_openmpi
+make %{?_smp_mflags} MDTEST_FLAGS="%{optflags}" CC="mpicc"
 
 %install
-install -D -p -m 0755 mdtest   %{buildroot}%{_bindir}/mdtest
-install -D -p -m 0644 mdtest.1 %{buildroot}%{_mandir}/man1/mdtest.1
+install -Dpm 0755 mdtest \
+  %{buildroot}%{_bindir}/mdtest
+install -Dpm 0644 mdtest.1 \
+  %{buildroot}%{_mandir}/man1/mdtest.1
 
 %files
-%doc RELEASE_LOG README COPYRIGHT
+%license COPYRIGHT
+%doc RELEASE_LOG README
 %{_bindir}/mdtest
-%{_mandir}/man1/mdtest.1%{ext_man}
+%{_mandir}/man1/mdtest.1%{?ext_man}
 
 %changelog


Reply via email to