Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bliss for openSUSE:Factory checked 
in at 2021-06-23 17:38:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bliss (Old)
 and      /work/SRC/openSUSE:Factory/.bliss.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bliss"

Wed Jun 23 17:38:10 2021 rev:4 rq:901359 version:0.77

Changes:
--------
--- /work/SRC/openSUSE:Factory/bliss/bliss.changes      2019-08-27 
10:18:44.779950116 +0200
+++ /work/SRC/openSUSE:Factory/.bliss.new.2625/bliss.changes    2021-06-23 
17:38:13.488470881 +0200
@@ -1,0 +2,31 @@
+Mon Jun 21 16:10:32 UTC 2021 - Jan Engelhardt <[email protected]>
+
+- Set versioned cmake requirement
+
+-------------------------------------------------------------------
+Wed Jun  2 22:57:38 UTC 2021 - Ferdinand Thiessen <[email protected]>
+
+- Update to version 0.77:
+  * set_color and copy methods in the C++ API
+  * precise group size computation also without GNU GMP
+  * no more exit-causing "fatal_errors", instead a standard exception
+    is thrown
+- Update to version 0.76:
+  * The monolithic "graph" file is split in "abstractgraph",
+    "graph" and "digraph".
+  * defs.hh now contains the version number as a #define.
+  * is_automorphism is now a public member of Graph and Digraph.
+- Update to version 0.75:
+  * Automorphism reporting and termination check functions
+    are now of C++ type std::function.
+  * Bignum allows one to get a copy of internal GNU GMP integer.
+- Update to version 0.74:
+  * Fixed a memory leak
+  * Possibility to terminate the search early
+  * Minor changes for better C++11 compatibility.
+  * Memory allocation failures now throw std::bad_alloc
+- Drop bliss-am.diff upstream uses cmake
+- Add cmake.patch, allow installing the library and binary.
+- Refresh bliss-nodate.diff
+
+-------------------------------------------------------------------

Old:
----
  bliss-0.73.zip
  bliss-am.diff

New:
----
  bliss-0.77.zip
  cmake.patch

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

Other differences:
------------------
++++++ bliss.spec ++++++
--- /var/tmp/diff_new_pack.dT51Yd/_old  2021-06-23 17:38:14.000471585 +0200
+++ /var/tmp/diff_new_pack.dT51Yd/_new  2021-06-23 17:38:14.004471591 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bliss
 #
-# Copyright (c) 2019 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
@@ -16,19 +16,18 @@
 #
 
 
+%define lname   libbliss0_77
 Name:           bliss
-%define lname   libbliss-0_73
-Version:        0.73
+Version:        0.77
 Release:        0
 Summary:        A Tool for Computing Automorphism Groups and Canonical 
Labelings of Graphs
 License:        LGPL-3.0-only
 Group:          Productivity/Scientific/Math
-URL:            http://www.tcs.hut.fi/Software/bliss/
-
-Source:         http://www.tcs.hut.fi/Software/bliss/%name-%version.zip
-Patch1:         bliss-am.diff
-Patch2:         bliss-nodate.diff
-BuildRequires:  automake
+URL:            https://users.aalto.fi/~tjunttil/bliss/
+Source:         
https://users.aalto.fi/~tjunttil/bliss/downloads/bliss-%version.zip
+Patch1:         bliss-nodate.diff
+Patch2:         cmake.patch
+BuildRequires:  cmake >= 3.5
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel
 BuildRequires:  libtool
@@ -63,13 +62,11 @@
 %autosetup -p1
 
 %build
-autoreconf -fi
-%configure
-make %{?_smp_mflags}
+%cmake -DUSE_GMP=ON -DBUILD_STATIC=OFF
+%cmake_build
 
 %install
-%make_install
-rm -f "%buildroot/%_libdir"/*.la
+%cmake_install
 
 %post   -n %lname -p /sbin/ldconfig
 %postun -n %lname -p /sbin/ldconfig
@@ -79,12 +76,11 @@
 %_bindir/bliss*
 
 %files -n %lname
-%_libdir/libbliss-0.73.so
-%_libdir/libbliss_gmp-0.73.so
+%_libdir/libbliss.so.%version
 
 %files devel
+%doc CHANGES.txt README.txt
 %_libdir/libbliss.so
-%_libdir/libbliss_gmp.so
 %_includedir/bliss/
 
 %changelog

++++++ bliss-nodate.diff ++++++
--- /var/tmp/diff_new_pack.dT51Yd/_old  2021-06-23 17:38:14.028471624 +0200
+++ /var/tmp/diff_new_pack.dT51Yd/_new  2021-06-23 17:38:14.032471630 +0200
@@ -3,19 +3,19 @@
 
 build: make build reproducible
 ---
- bliss.cc |    2 +-
+ src/bliss.cc |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 Index: bliss-0.73/bliss.cc
 ===================================================================
---- bliss-0.73.orig/bliss.cc
-+++ bliss-0.73/bliss.cc
-@@ -59,7 +59,7 @@ usage(FILE* const fp, const char* argv0)
+--- bliss-0.77/src/bliss.cc    2021-02-18 10:59:33.000000000 +0100
++++ new/src/bliss.cc   2021-06-03 01:19:33.276717579 +0200
+@@ -59,7 +59,7 @@
    else program_name = argv0;  
    if(!program_name or *program_name == 0) program_name = "bliss";
  
--  fprintf(fp, "bliss version %s (compiled "__DATE__")\n", bliss::version);
+-  fprintf(fp, "bliss version %s (compiled " __DATE__ ")\n", bliss::version);
 +  fprintf(fp, "bliss version %s\n", bliss::version);
-   fprintf(fp, "Copyright 2003-2015 Tommi Junttila\n");
+   fprintf(fp, "Copyright 2003-2021 Tommi Junttila\n");
    fprintf(fp,
  "\n"

++++++ cmake.patch ++++++
Date: Wed Jun  2 22:57:38 UTC 2021
From: Ferdinand Thiessen <[email protected]>

Allow installing libraries (reported upstream 2021-06-03)

diff -Nur bliss-0.77/CMakeLists.txt new/CMakeLists.txt
--- bliss-0.77/CMakeLists.txt   2021-02-18 10:59:33.000000000 +0100
+++ new/CMakeLists.txt  2021-06-03 01:45:35.260180830 +0200
@@ -1,9 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
 # set the project name
-project(bliss)
+project(bliss VERSION 0.77)
 
 option(USE_GMP "Use GNU Multiple Precision Arithmetic library" OFF)
+option(BUILD_SHARED "Build bliss as shared library" ON)
+option(BUILD_STATIC "Build bliss as static library" ON)
 
 # specify the C++ standard
 set(CMAKE_CXX_STANDARD 11)
@@ -47,18 +49,38 @@
   set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR})
 endif(MSVC)
 
+if (BUILD_SHARED)
+  # Add the shared library
+  add_library(bliss SHARED ${BLISS_SOURCE_FILES})
+  set_target_properties(bliss PROPERTIES VERSION ${PROJECT_VERSION} 
POSITION_INDEPENDENT_CODE 1)
+  target_link_libraries(bliss ${GMP_LIBRARIES})
+  install(TARGETS bliss LIBRARY)
+endif()
 
-# Add the shared library
-add_library(bliss SHARED ${BLISS_SOURCE_FILES})
-set_property(TARGET bliss PROPERTY POSITION_INDEPENDENT_CODE 1)
-
-# Add the static library
-add_library(bliss_static STATIC ${BLISS_SOURCE_FILES})
+if (BUILD_STATIC)
+  # Add the static library
+  add_library(bliss_static STATIC ${BLISS_SOURCE_FILES})
+  install(TARGETS bliss_static LIBRARY)
+endif()
 
 # Add the executable
 add_executable(bliss-executable src/bliss.cc)
-target_link_libraries(bliss-executable bliss_static)
+if (BUILD_SHARED)
+  target_link_libraries(bliss-executable bliss)
+else()
+  target_link_libraries(bliss-executable bliss_static)
+endif()
+
 if(USE_GMP)
   target_link_libraries(bliss-executable ${GMP_LIBRARIES})
 endif(USE_GMP)
 set_target_properties(bliss-executable PROPERTIES OUTPUT_NAME bliss)
+
+install(TARGETS bliss-executable RUNTIME)
+
+# Install header files
+install(DIRECTORY src/
+  DESTINATION include/bliss
+  FILES_MATCHING PATTERN "*.hh"
+)
+

Reply via email to