Hello community,

here is the log from the commit of package cppdb for openSUSE:Factory checked 
in at 2019-02-24 17:20:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cppdb (Old)
 and      /work/SRC/openSUSE:Factory/.cppdb.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cppdb"

Sun Feb 24 17:20:41 2019 rev:7 rq:678387 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cppdb/cppdb.changes      2014-04-03 
16:47:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cppdb.new.28833/cppdb.changes   2019-02-24 
17:20:53.532391856 +0100
@@ -1,0 +2,5 @@
+Sat Feb 23 08:40:20 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Use %cmake macro.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cppdb.spec ++++++
--- /var/tmp/diff_new_pack.VmoNVK/_old  2019-02-24 17:20:53.968391778 +0100
+++ /var/tmp/diff_new_pack.VmoNVK/_new  2019-02-24 17:20:53.968391778 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cppdb
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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/
 #
 
 
@@ -27,7 +27,7 @@
 Version:        0.3.1
 Release:        0
 Summary:        Database-independent SQL connectivity library
-License:        MIT and BSL-1.0
+License:        MIT AND BSL-1.0
 Group:          Development/Libraries/C and C++
 Url:            http://cppcms.com/sql/cppdb/
 
@@ -118,9 +118,7 @@
 %package doc
 Summary:        HTML documentation for CppDB
 Group:          Documentation/HTML
-%if 0%{?suse_version} >= 1140
 BuildArch:      noarch
-%endif
 
 %description doc
 CppDB is an SQL connectivity library that is designed to provide
@@ -135,23 +133,24 @@
 %build
 export CFLAGS="%optflags"
 export CXXFLAGS="%optflags"
-cmake -DCMAKE_INSTALL_PREFIX="%_prefix" -DLIBDIR="%_libdir" \
-       -DODBC_BACKEND_INTERNAL="OFF" \
+%cmake -DLIBDIR="%_libdir" -DODBC_BACKEND_INTERNAL="OFF" \
 %if !%have_sqlite
        -DDISABLE_SQLITE=ON \
 %endif
 ;
 
-make %{?_smp_mflags};
+make %{?_smp_mflags}
 
 %install
-b="%buildroot";
-make install DESTDIR="$b"
+b="%buildroot"
+pushd build/
+%make_install
+popd
 rm -f "$b/%_libdir"/*.a "$b/%_libdir"/libcppdb_*.so
 
 rm html/installdox
-mkdir -p "$b/%_docdir/%name";
-cp -a html examples "$b/%_docdir/%name/";
+mkdir -p "$b/%_docdir/%name"
+cp -a html examples "$b/%_docdir/%name/"
 %fdupes -s %buildroot/%_docdir/%name
 
 %post -n libcppdb%sover -p /sbin/ldconfig


Reply via email to