Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzypp-testsuite-tools for openSUSE:Factory checked in at 2021-11-10 21:46:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzypp-testsuite-tools (Old) and /work/SRC/openSUSE:Factory/.libzypp-testsuite-tools.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp-testsuite-tools" Wed Nov 10 21:46:44 2021 rev:57 rq:930643 version:5.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libzypp-testsuite-tools/libzypp-testsuite-tools.changes 2017-06-08 15:03:43.000981103 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-testsuite-tools.new.1890/libzypp-testsuite-tools.changes 2021-11-10 21:47:26.067837241 +0100 @@ -1,0 +2,9 @@ +Wed Nov 10 11:13:38 CET 2021 - m...@suse.com + +- Switch to using CMake +- CMake: use ZYPPCOMMON_CXX_STANDARD +- Support libzypps new yaml testcase format +- BuildRequires: libzypp-devel >= 17.25.3 +- version 5.0.4 + +------------------------------------------------------------------- Old: ---- zypp-testsuite-tools-5.0.3.tar.bz2 New: ---- libzypp-testsuite-tools-5.0.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp-testsuite-tools.spec ++++++ --- /var/tmp/diff_new_pack.mHIzjF/_old 2021-11-10 21:47:26.459837412 +0100 +++ /var/tmp/diff_new_pack.mHIzjF/_new 2021-11-10 21:47:26.463837413 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzypp-testsuite-tools # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 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,21 @@ # 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/ # Name: libzypp-testsuite-tools -BuildRequires: fdupes -BuildRequires: gcc-c++ >= 4.6 -BuildRequires: libexpat-devel -BuildRequires: libtool -BuildRequires: libzypp-devel >= 15.10.0 +Version: 5.0.4 +Release: 0 +License: GPL-2.0-only BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Package, Patch, Pattern, and Product Management - testsuite-tools -License: GPL-2.0 Group: System/Packages -Version: 5.0.3 -Release: 0 -Source: zypp-testsuite-tools-5.0.3.tar.bz2 +Source: %{name}-%{version}.tar.bz2 +BuildRequires: cmake >= 3.1 +BuildRequires: gcc-c++ >= 7 +BuildRequires: libzypp-devel >= 17.25.3 %description Package, Patch, Pattern, and Product Management - testsuite-tools @@ -45,25 +43,31 @@ Ladislav Slezak <lsle...@suse.cz> %prep -%setup -q -n zypp-testsuite-tools-5.0.3 +%setup -q %build -mv configure.ac x -grep -v devel/ x > configure.ac -autoreconf --force --install --symlink --verbose -%{?suse_update_config:%{suse_update_config -f}} -CXXFLAGS="$RPM_OPT_FLAGS" \ -%configure --disable-static -make %{?jobs:-j %jobs} +mkdir -p build +cd build +CMAKE_FLAGS= +cmake $CMAKE_FLAGS \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DSYSCONFDIR=%{_sysconfdir} \ + -DMANDIR=%{_mandir} \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + .. %install +cd build make install DESTDIR=$RPM_BUILD_ROOT # legacy symlinks ln -s deptestomatic $RPM_BUILD_ROOT/%{_prefix}/lib/zypp/testsuite/bin/deptestomatic.multi ln -s deptestomatic $RPM_BUILD_ROOT/%{_prefix}/lib/zypp/testsuite/bin/deptestomatic.noui -%fdupes -s $RPM_BUILD_ROOT %clean +rm -rf "$RPM_BUILD_ROOT" %files %defattr(0755,root,root)