Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mmtf-cpp for openSUSE:Factory 
checked in at 2021-02-15 23:18:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mmtf-cpp (Old)
 and      /work/SRC/openSUSE:Factory/.mmtf-cpp.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mmtf-cpp"

Mon Feb 15 23:18:54 2021 rev:2 rq:872016 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mmtf-cpp/mmtf-cpp.changes        2020-08-24 
15:13:18.754692565 +0200
+++ /work/SRC/openSUSE:Factory/.mmtf-cpp.new.28504/mmtf-cpp.changes     
2021-02-15 23:21:07.431828067 +0100
@@ -1,0 +2,12 @@
+Fri Feb  5 18:52:22 UTC 2021 - andy great <[email protected]>
+
+- Enable test. Add _service file to download submodule required for
+  testing. 
+- Add fix_catch2_not_found.patch to fix catch.hpp not found.
+
+-------------------------------------------------------------------
+Tue May  5 02:05:09 UTC 2020 - andy great <[email protected]>
+
+- Remove -s flag from fdupes. 
+
+-------------------------------------------------------------------

Old:
----
  mmtf-cpp-1.0.0.tar.gz

New:
----
  _service
  fix_catch2_not_found.patch
  mmtf-cpp-1.0.0.obscpio
  mmtf-cpp.obsinfo

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

Other differences:
------------------
++++++ mmtf-cpp.spec ++++++
--- /var/tmp/diff_new_pack.unHVtw/_old  2021-02-15 23:21:08.551829740 +0100
+++ /var/tmp/diff_new_pack.unHVtw/_new  2021-02-15 23:21:08.555829747 +0100
@@ -24,9 +24,12 @@
 Summary:        The pure C++ implementation of the MMTF API, decoder and 
encoder
 License:        MIT
 Group:          Productivity/Scientific/Chemistry
-URL:            https://github.com/rcsb/%{name}
-Source0:        
https://github.com/rcsb/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+URL:            https://github.com/rcsb/mmtf-cpp
+Source0:        %{name}-%{version}.tar.xz
+# PATCH-FIX-OPENSUSE fix_catch2_not_found.patch gh#rcsb/mmtf-cpp#39 
[email protected] -- Fix issue catch.hpp not found. 
+Patch0:         fix_catch2_not_found.patch
 BuildRequires:  cmake
+BuildRequires:  Catch2-devel
 BuildRequires:  ninja
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -34,7 +37,6 @@
 BuildRequires:  msgpack-devel
 BuildArch:      noarch
 
-
 %description
 Macromolecular transmission format documentation, including README, license 
and HTML docs.
 
@@ -48,11 +50,11 @@
 applications that use %{name}.
 
 %prep
-%autosetup -n %{name}-%{version}
+%autosetup -p1 -n %{name}-%{version}
 
 %build
-%cmake -DBUILD_TESTS=OFF \
-       -Dmmtf_build_local:BOOL=OFF \
+%cmake -DBUILD_TESTS:BOOL=ON \
+       -Dmmtf_build_local:BOOL=ON \
        -Dmmtf_build_examples:BOOL=ON
 
 %cmake_build
@@ -63,8 +65,10 @@
 
 %install
 %cmake_install
+%fdupes %{buildroot}%{_prefix}
 
-%fdupes -s %{buildroot}%{_prefix}
+%check
+%ctest
 
 %files devel
 %license LICENSE

++++++ _service ++++++
<services>
  <service mode="disabled" name="obs_scm">
    <param name="url">git://github.com/rcsb/mmtf-cpp.git</param>
    <param name="scm">git</param>
    <param name="submodules">enable</param>
    <param name="revision">407bf8e</param>
    <param name="versionformat">1.0.0</param>
  </service>
  <service mode="buildtime" name="tar" />
  <service mode="buildtime" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service mode="disabled" name="set_version" />
</services>
++++++ fix_catch2_not_found.patch ++++++
diff -ruN a/tests/mmtf_tests.cpp b/tests/mmtf_tests.cpp
--- a/tests/mmtf_tests.cpp      2019-02-06 01:55:57.000000000 +0700
+++ b/tests/mmtf_tests.cpp      2021-02-06 01:16:13.126170766 +0700
@@ -5,7 +5,7 @@
 #define CATCH_CONFIG_MAIN
 #endif
 
-#include "catch.hpp"
+#include <catch2/catch.hpp>
 
 #include <mmtf.hpp>
 #include <mmtf/export_helpers.hpp>
++++++ mmtf-cpp.obsinfo ++++++
name: mmtf-cpp
version: 1.0.0
mtime: 1549392957
commit: 407bf8e541530579b1f2c3e7f7fa96bb06ef5be9

Reply via email to