Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qore for openSUSE:Factory checked in at 2021-11-23 22:10:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qore (Old) and /work/SRC/openSUSE:Factory/.qore.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qore" Tue Nov 23 22:10:27 2021 rev:9 rq:928377 version:1.0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/qore/qore.changes 2021-08-01 21:51:37.555236880 +0200 +++ /work/SRC/openSUSE:Factory/.qore.new.1895/qore.changes 2021-11-23 22:12:39.878462355 +0100 @@ -1,0 +2,34 @@ +Thu Oct 28 09:18:24 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to 1.0.10: + * Might break backwards compatibility: + * Some server-side APIs have changed (integration of the Logger + module in the HttpServer and the HttpServerUtil modules). + * Implemented the invalid-catch warning when types are required + by parse options and added to the default warning mask for modules + * Added support for thread-local global variables + * Type errors with function and method resolution will report the full + namespace paths of class and hashdecl types + * ConnectionProvider module: + * updated the AbstractConnection::getInfo() method + * added the AbstractConnection::getExtendedInfo() method + * DataProvider module: + * added the limit search option to the DefaultRecordIterator class + * HttpServer module: + * allow dynamic handlers to be disabled before being removed + * integrated the Logger module + * removed deprecated APIs + * HttpServerUtil module: + * integrated the Logger module + * Logger module: + * added support for the %h and %P patterns for hostname and PID + * allow file appenders to be reopened + * enable serialization for LoggerEvent objects as well as for + them to be submitted directly to Logger objects + * Added qjar tool for exporting javadoc + * Many bug fixes + * Full release notes: + https://docs.qore.org/qore-1.0.10/lang/html/release_notes.html +- Add fix-module-linker-flags.patch fixing gh#4335 + +------------------------------------------------------------------- Old: ---- qore-release-0.9.15.tar.gz New: ---- fix-module-linker-flags.patch qore-release-1.0.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qore-doc.spec ++++++ --- /var/tmp/diff_new_pack.EawGej/_old 2021-11-23 22:12:40.326460873 +0100 +++ /var/tmp/diff_new_pack.EawGej/_new 2021-11-23 22:12:40.326460873 +0100 @@ -17,7 +17,7 @@ Name: qore-doc -Version: 0.9.15 +Version: 1.0.10 Release: 0 Summary: Multithreaded Programming Language License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT ++++++ qore.spec ++++++ --- /var/tmp/diff_new_pack.EawGej/_old 2021-11-23 22:12:40.346460807 +0100 +++ /var/tmp/diff_new_pack.EawGej/_new 2021-11-23 22:12:40.346460807 +0100 @@ -18,9 +18,10 @@ # +%define so_ver 7 %define module_dir %{_libdir}/qore-modules Name: qore -Version: 0.9.15 +Version: 1.0.10 Release: 0 Summary: Multithreaded Programming Language License: GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT @@ -31,6 +32,8 @@ Source99: qore-module.prov # PATCH-FIX-OPENSUSE bmwiedemann boo#1084909 Patch0: reproducible.patch +# PATCH-FIX-UPSTREAM fix-module-linker-flags.patch -- gh#4335 +Patch1: fix-module-linker-flags.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -53,13 +56,13 @@ It applies a scripting-based approach to interface development and can also be used as a general purpose language. -%package -n libqore6 +%package -n libqore%{so_ver} Summary: Libraries for the qore runtime and qore clients License: GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT Group: Development/Languages/Other %(awk 'NF { gsub(/ /,""); print "Provides: qore-module(abi)%{?_isa} = "$abi }' %{SOURCE99}) -%description -n libqore6 +%description -n libqore%{so_ver} Qore is a scripting language supporting threading and embedded logic. It applies a scripting-based approach to interface development and can also be used as a general purpose language. @@ -67,18 +70,11 @@ This package provides the qore library required for all clients using qore functionality. -%files -n libqore6 -%license COPYING.LGPL COPYING.GPL COPYING.MIT README-LICENSE -%{_libdir}/libqore.so.6* - -%post -n libqore6 -p /sbin/ldconfig -%postun -n libqore6 -p /sbin/ldconfig - %package devel Summary: Header files needed to compile programs using the qore library License: GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT Group: Development/Languages/C and C++ -Requires: libqore6 = %{version}-%{release} +Requires: libqore%{so_ver} = %{version}-%{release} %description devel Qore is a scripting language supporting threading and embedded logic. @@ -88,16 +84,6 @@ This package provides header files needed to compile client programs using the Qore library. -%files devel -%{_bindir}/qpp -%{_bindir}/qdx -%{_libdir}/libqore.so -%{_libdir}/pkgconfig/qore.pc -%dir %{_libdir}/cmake -%{_libdir}/cmake/Qore -%{_includedir}/* -%{_datadir}/qore - %package misc-tools Summary: Miscellaneous user tools writen in Qore Programming Language License: GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT @@ -109,15 +95,6 @@ - REST APIs - SQL Databases -%files misc-tools -%{_bindir}/qdp -%{_bindir}/qget -%{_bindir}/rest -%{_bindir}/sfrest -%{_bindir}/saprest -%{_bindir}/sqlutil -%{_bindir}/schema-reverse - %prep %autosetup -p1 -n %{name}-release-%{version} # silence the executable warning for examples @@ -132,6 +109,11 @@ %make_install rm %{buildroot}/%{_libdir}/libqore.la +# Fix scripts +for script in qdp qget rest saprest schema-reverse sfrest sqlutil qdx qjar qdbg{,-remote,-server,-vsc-adapter}; do + sed -i '1 s/env qore/qore/' "%{buildroot}%{_bindir}/$script" +done + # Check if we have all the provides for libqore - to ensure we provide all the qore-module ABI's the code supports ./qore --module-apis | awk -F',[[:blank:]]' '{i = 1; while (i < NF) { print $i; i++ } }' > /tmp/qore-modules.prov diff -ur %{SOURCE99} /tmp/qore-modules.prov @@ -139,6 +121,9 @@ %check make test +%post -n libqore%{so_ver} -p /sbin/ldconfig +%postun -n libqore%{so_ver} -p /sbin/ldconfig + %files %{_bindir}/qore %{_bindir}/qdbg* @@ -147,4 +132,28 @@ %{_datadir}/qore-modules/%{version} %{_mandir}/man1/qore.1%{?ext_man} +%files -n libqore%{so_ver} +%license COPYING.LGPL COPYING.GPL COPYING.MIT README-LICENSE +%{_libdir}/libqore.so.%{so_ver}* + +%files devel +%{_bindir}/qpp +%{_bindir}/qdx +%{_bindir}/qjar +%{_libdir}/libqore.so +%{_libdir}/pkgconfig/qore.pc +%dir %{_libdir}/cmake +%{_libdir}/cmake/Qore +%{_includedir}/* +%{_datadir}/qore + +%files misc-tools +%{_bindir}/qdp +%{_bindir}/qget +%{_bindir}/rest +%{_bindir}/sfrest +%{_bindir}/saprest +%{_bindir}/sqlutil +%{_bindir}/schema-reverse + %changelog ++++++ fix-module-linker-flags.patch ++++++ diff -Nur qore-release-1.0.10/cmake/QoreMacros.cmake new/cmake/QoreMacros.cmake --- qore-release-1.0.10/cmake/QoreMacros.cmake 2021-10-16 17:14:58.000000000 +0200 +++ new/cmake/QoreMacros.cmake 2021-10-28 14:13:51.791708661 +0200 @@ -187,7 +187,7 @@ target_link_libraries(${_module_name} ${_libs}) # ensure that modules use dynamic lookups; works with g++ & clang++ - set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-undefined -Wl,dynamic_lookup") + set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-undefined -Wl,dynamic_lookup") install( TARGETS ${_module_name} DESTINATION ${_mod_target_dir}) ++++++ qore-module.prov ++++++ --- /var/tmp/diff_new_pack.EawGej/_old 2021-11-23 22:12:40.382460688 +0100 +++ /var/tmp/diff_new_pack.EawGej/_new 2021-11-23 22:12:40.382460688 +0100 @@ -1,2 +1 @@ -0.24 -0.23 +1.1 ++++++ qore-release-0.9.15.tar.gz -> qore-release-1.0.10.tar.gz ++++++ ++++ 66813 lines of diff (skipped)