Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qore-yaml-module for 
openSUSE:Factory checked in at 2023-01-24 20:42:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-yaml-module (Old)
 and      /work/SRC/openSUSE:Factory/.qore-yaml-module.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore-yaml-module"

Tue Jan 24 20:42:58 2023 rev:9 rq:1060689 version:0.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/qore-yaml-module/qore-yaml-module.changes        
2022-06-16 18:19:53.348052403 +0200
+++ 
/work/SRC/openSUSE:Factory/.qore-yaml-module.new.32243/qore-yaml-module.changes 
    2023-01-24 20:54:58.075838140 +0100
@@ -1,0 +2,10 @@
+Sun Jan  8 19:13:56 UTC 2023 - Sarah Kriesch <sarah.krie...@opensuse.org>
+
+- Update to version 0.7.3 for qore 1.0.14
+  * Updated to build with qpp from Qore 1.12.4+
+  * improved deserialization of date/time values; fixed a bug where 
+    a random string could be deserialized as a duration 
+  * Bugfix where REST schema validation was not applied in the 
+    DataStreamClient module with non-DataStream messages 
+
+-------------------------------------------------------------------

Old:
----
  module-yaml-0.7.tar.gz

New:
----
  qore-yaml-module-0.7.3.tar.bz2

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

Other differences:
------------------
++++++ qore-yaml-module.spec ++++++
--- /var/tmp/diff_new_pack.LbuZQw/_old  2023-01-24 20:54:58.447840508 +0100
+++ /var/tmp/diff_new_pack.LbuZQw/_new  2023-01-24 20:54:58.451840533 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qore-yaml-module
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,63 +16,105 @@
 #
 
 
-%define src_name module-yaml-%{version}
-%define module_api %(qore --latest-module-api 2>/dev/null)
+%{?_datarootdir: %global mydatarootdir %_datarootdir}
+%{!?_datarootdir: %global mydatarootdir /usr/share}
+
+%global module_api %(qore --latest-module-api 2>/dev/null)
+%global module_dir %{_libdir}/qore-modules
+%global user_module_dir %{mydatarootdir}/qore-modules/
+
+%if 0%{?sles_version}
+
+%global dist .sles%{?sles_version}
+
+%else
+%if 0%{?suse_version}
+
+# get *suse release major version
+%global os_maj %(echo %suse_version|rev|cut -b3-|rev)
+# get *suse release minor version without trailing zeros
+%global os_min %(echo %suse_version|rev|cut -b-2|rev|sed s/0*$//)
+
+%if %suse_version
+%global dist .opensuse%{os_maj}_%{os_min}
+%endif
+
+%endif
+%endif
+
+%define src_name qore-yaml-module-%{version}
 Name:           qore-yaml-module
-Version:        0.7
+Version:        0.7.3
 Release:        0
 Summary:        YAML module for Qore
 License:        GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT
 Group:          Development/Languages/Misc
 URL:            https://www.qore.org/
-Source:         
https://github.com/qorelanguage/module-yaml/archive/refs/tags/v%{version}.tar.gz#/%{src_name}.tar.gz
-BuildRequires:  cmake
+Source:         
https://github.com/qorelanguage/module-yaml/releases/download/v%{version}/%{name}-%{version}.tar.bz2#/%{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       /usr/bin/env
+Requires:       qore-module(abi)%{?_isa} = %{module_api}
+BuildRequires:  cmake >= 3.5
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  graphviz
 BuildRequires:  libyaml-devel
-BuildRequires:  qore
-BuildRequires:  qore-devel >= %{qore_version}
-Requires:       qore-module(abi)%{?_isa} = %{module_api}
+BuildRequires:  timezone
+BuildRequires:  qore >= 1.12.4
+BuildRequires:  qore-devel >= 1.12.4
+BuildRequires:  qore-stdlib >= 1.12.4
 Suggests:       %{name}-doc = %{version}
-# Version schema changed, remove with 0.7.1 release
-Obsoletes:      %{name} = 0.7.0+qore1.0.10
-Obsoletes:      %{name} = 0.7.0+qore0.9.15
 
 %description
 This package contains the yaml module for the Qore Programming Language.
 
 YAML is a flexible and concise human-readable data serialization format.
 
+%if 0%{?suse_version}
+%endif
+
 %package doc
 Summary:        Documentation and examples for the Qore yaml module
 Group:          Development/Languages/Misc
-Requires:       %{name} = %{version}
+BuildArch:      noarch
 
 %description doc
 This package contains the HTML documentation and example programs for the Qore
 yaml module.
 
+%files doc
+%defattr(-,root,root)
+%doc docs/yaml docs/YamlRpcClient docs/YamlRpcHandler docs/DataStreamUtil 
docs/DataStreamClient docs/DataStreamRequestHandler test examples
+
 %prep
 %setup -q -n %{src_name}
 find examples -type f|xargs chmod 644
 
 %build
-%cmake
-%cmake_build docs
+export CXXFLAGS="%{?optflags}"
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=RELWITHDEBINFO 
-DCMAKE_SKIP_RPATH=1 -DCMAKE_SKIP_INSTALL_RPATH=1 -DCMAKE_SKIP_BUILD_RPATH=1 
-DCMAKE_PREFIX_PATH=${_prefix}/lib64/cmake/Qore .
+make %{?_smp_mflags}
+make %{?_smp_mflags} docs
+sed -i 's/#!\/usr\/bin\/env qore/#!\/usr\/bin\/qore/' test/*.qtest examples/*
 
 %install
-%cmake_install
-%fdupes %{__builddir}/html
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%fdupes -s %{__builddir}/html docs
 
 %files
+%defattr(-,root,root)
 %license COPYING.LGPL COPYING.MIT
-%{_libdir}/qore-modules/*
-%{_datadir}/qore-modules/*
-
-%files doc
-%doc README RELEASE-NOTES
-%doc %{__builddir}/html
+%doc README RELEASE-NOTES AUTHORS
+%{module_dir}
+%{user_module_dir}
+
+%check
+export QORE_MODULE_DIR=$QORE_MODULE_DIR:qlib
+qore -l ./yaml-api-1.3.qmod test/DataStreamClient.qtest -v
+qore -l ./yaml-api-1.3.qmod test/DataStreamHandler.qtest -v
+qore -l ./yaml-api-1.3.qmod test/DataStreamUtil.qtest -v
+qore -l ./yaml-api-1.3.qmod test/YamlRpcHandler.qtest -v
+qore -l ./yaml-api-1.3.qmod test/yaml.qtest -v
 
 %changelog

Reply via email to