Hello community,

here is the log from the commit of package qore for openSUSE:Factory checked in 
at 2019-08-13 13:23:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore (Old)
 and      /work/SRC/openSUSE:Factory/.qore.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore"

Tue Aug 13 13:23:23 2019 rev:7 rq:722648 version:0.8.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/qore/qore.changes        2018-07-13 
10:22:59.322573201 +0200
+++ /work/SRC/openSUSE:Factory/.qore.new.9556/qore.changes      2019-08-13 
13:23:26.501384007 +0200
@@ -1,0 +2,8 @@
+Mon Aug  5 19:25:11 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Make the qore-module-api-* provides more fail prove: store the
+  provides list in qore-module.prov. During build, this file is
+  auto-generated and compared against the package provided one to
+  ensure the list is correct.
+
+-------------------------------------------------------------------

New:
----
  qore-module.prov

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

Other differences:
------------------
++++++ qore.spec ++++++
--- /var/tmp/diff_new_pack.ujByjw/_old  2019-08-13 13:23:27.517383740 +0200
+++ /var/tmp/diff_new_pack.ujByjw/_new  2019-08-13 13:23:27.521383738 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qore
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014 David Nichols <[email protected]>
 # Copyright (c) 2014 Petr Vanek <[email protected]>
 #
@@ -14,7 +14,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/
 #
 
 
@@ -23,10 +23,11 @@
 Version:        0.8.13
 Release:        0
 Summary:        Multithreaded Programming Language
-License:        LGPL-2.1+ or GPL-2.0+ or MIT
+License:        LGPL-2.1-or-later OR GPL-2.0-or-later OR MIT
 Group:          Development/Languages/Other
 Url:            http://qore.org
 Source:         
https://github.com/qorelanguage/qore/releases/download/release-%{version}/qore-%{version}.tar.bz2
+Source99:       qore-module.prov
 Patch:          qore-libtool-2.4.6.patch
 # PATCH-FIX-OPENSUSE bmwiedemann boo#1084909
 Patch1:         reproducible.patch
@@ -55,27 +56,13 @@
 
 %package -n libqore5
 Summary:        The libraries for the qore runtime and qore clients
-License:        LGPL-2.0+ or GPL-2.0+ or MIT
+License:        LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT
 Group:          Development/Languages/Other
 Provides:       qore-module(abi)%{?_isa} = 0.18
 Provides:       qore-module(abi)%{?_isa} = 0.19
 Provides:       qore-module(abi)%{?_isa} = 0.20
 # provided for backwards-compatibility with unversioned capabilities and will 
be removed when the ABI drops backwards-compatibility
-Provides:       qore-module-api-0.10
-Provides:       qore-module-api-0.11
-Provides:       qore-module-api-0.12
-Provides:       qore-module-api-0.13
-Provides:       qore-module-api-0.14
-Provides:       qore-module-api-0.15
-Provides:       qore-module-api-0.16
-Provides:       qore-module-api-0.17
-Provides:       qore-module-api-0.18
-Provides:       qore-module-api-0.19
-Provides:       qore-module-api-0.5
-Provides:       qore-module-api-0.5
-Provides:       qore-module-api-0.7
-Provides:       qore-module-api-0.8
-Provides:       qore-module-api-0.9
+%(cat %{SOURCE99})
 
 %description -n libqore5
 Qore is a scripting language supporting threading and embedded logic, designed
@@ -96,7 +83,7 @@
 
 %package doc
 Summary:        API documentation, programming language reference, and Qore 
example programs
-License:        LGPL-2.0+ or GPL-2.0+ or MIT
+License:        LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT
 Group:          Documentation/HTML
 
 %description doc
@@ -113,7 +100,7 @@
 
 %package devel
 Summary:        The header files needed to compile programs using the qore 
library
-License:        LGPL-2.0+ or GPL-2.0+ or MIT
+License:        LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT
 Group:          Development/Languages/C and C++
 Requires:       libqore5 = %{version}-%{release}
 
@@ -138,7 +125,7 @@
 
 %package devel-doc
 Summary:        C++ API documentation for the qore library
-License:        LGPL-2.0+ or GPL-2.0+ or MIT
+License:        LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT
 Group:          Documentation/HTML
 Requires:       libqore5 = %{version}-%{release}
 
@@ -153,7 +140,7 @@
 
 %package misc-tools
 Summary:        Miscellaneous user tools writen in Qore Programming Language
-License:        LGPL-2.0+ or GPL-2.0+ or MIT
+License:        LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT
 Group:          Development/Tools/Other
 Requires:       qore = %{version}-%{release}
 
@@ -194,6 +181,10 @@
 rm %{buildroot}/%{_libdir}/libqore.la
 %fdupes -s docs
 
+# Check if we have all the provides for libqore - to ensure we provide all the 
qore-module-api-* the code supports
+./qore --module-apis | awk -F',[[:blank:]]' '{i = 1; while (i < NF) { print 
"Provides: qore-module-api-"$i; i++  } }' > /tmp/qore-modules.prov
+diff -ur %{SOURCE99} /tmp/qore-modules.prov
+
 %files
 %defattr(-,root,root,-)
 %{_bindir}/qore

++++++ qore-module.prov ++++++
Provides: qore-module-api-0.20
Provides: qore-module-api-0.19
Provides: qore-module-api-0.18
Provides: qore-module-api-0.17
Provides: qore-module-api-0.16
Provides: qore-module-api-0.15
Provides: qore-module-api-0.14
Provides: qore-module-api-0.13
Provides: qore-module-api-0.12
Provides: qore-module-api-0.11
Provides: qore-module-api-0.10
Provides: qore-module-api-0.9
Provides: qore-module-api-0.8
Provides: qore-module-api-0.7
Provides: qore-module-api-0.6

Reply via email to