Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qore-xml-module for openSUSE:Factory 
checked in at 2022-06-16 18:19:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-xml-module (Old)
 and      /work/SRC/openSUSE:Factory/.qore-xml-module.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore-xml-module"

Thu Jun 16 18:19:46 2022 rev:8 rq:982848 version:1.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/qore-xml-module/qore-xml-module.changes  
2021-11-23 22:12:43.534450263 +0100
+++ 
/work/SRC/openSUSE:Factory/.qore-xml-module.new.1548/qore-xml-module.changes    
    2022-06-16 18:19:59.372060969 +0200
@@ -1,0 +2,13 @@
+Thu May 26 12:35:03 UTC 2022 - Sarah Kriesch <sarah.krie...@opensuse.org>
+
+- Update to version 1.5.3
+  * fixed merging namespaces in externsl XSDs with overlapping prefixes
+  * fixed handling complexType elements with a sequence and any element
+  * fixed error message for WSDLLib::getWebServiceFromUrl() when the 
+    file could not be read
+  * fixed loading URLs with multiple imports of the same external 
+    XSD schema 
+  * fixed a type error processing messages on listeners with no hostname 
+    socket info value
+
+-------------------------------------------------------------------

Old:
----
  module-xml-release-1.0.10.tar.gz

New:
----
  qore-xml-module-1.5.3.tar.bz2

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

Other differences:
------------------
++++++ qore-xml-module.spec ++++++
--- /var/tmp/diff_new_pack.HdZlUm/_old  2022-06-16 18:19:59.896061714 +0200
+++ /var/tmp/diff_new_pack.HdZlUm/_new  2022-06-16 18:19:59.900061720 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qore-xml-module
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,33 +16,74 @@
 #
 
 
-%define qore_version 1.0.10
-%define module_api   %(qore --latest-module-api 2>/dev/null)
-%define src_name     module-xml-release-%{qore_version}
-Name:           qore-xml-module
-Version:        1.5.1+qore%{qore_version}
-Release:        0
+%global mod_ver 1.5.3
+
+%{?_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 > 1010
+%global dist .opensuse%{os_maj}_%{os_min}
+%else
+%global dist .suse%{os_maj}_%{os_min}
+%endif
+
+%endif
+%endif
+
+# see if we can determine the distribution type
+%if 0%{!?dist:1}
+%global rh_dist %(if [ -f /etc/redhat-release ];then cat 
/etc/redhat-release|sed "s/[^0-9.]*//"|cut -f1 -d.;fi)
+%if 0%{?rh_dist}
+%global dist .rhel%{rh_dist}
+%else
+%global dist .unknown
+%endif
+%endif
+
 Summary:        XML module for Qore
-License:        LGPL-2.1-or-later OR GPL-2.0-or-later OR MIT
+Name:           qore-xml-module
+Version:        %{mod_ver}
+Release:        1%{dist}
+License:        GPL-2.0-or-later OR LGPL-2.1-or-later OR MIT
 Group:          Development/Languages/Other
-URL:            https://qore.org
-Source:         
https://github.com/qorelanguage/module-xml/archive/refs/tags/release-%{qore_version}.tar.gz#/%{src_name}.tar.gz
-BuildRequires:  cmake
-BuildRequires:  doxygen
+URL:            http://qore.org
+Source:         
https://github.com/qorelanguage/module-xml/releases/download/v%{version}/%{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       /usr/bin/env
+Requires:       qore-module(abi)%{?_isa} = %{module_api}
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  graphviz
 BuildRequires:  libxml2-devel
 BuildRequires:  openssl-devel
 BuildRequires:  qore
-BuildRequires:  qore-devel >= %{qore_version}
-Requires:       qore-module(abi)%{?_isa} = %{module_api}
+BuildRequires:  qore-devel >= 0.9.4
+#Because of file conflict with qore-xml-module-tools-1.5.1+qore1.0.10-1.3
+Obsoletes:      %{name}-tools  < %{version}
 
 %description
 This package contains the xml module for the Qore Programming Language.
 
 XML is a markup language for encoding information.
 
+%if 0%{?suse_version}
+%endif
+
 %package doc
 Summary:        Documentation and examples for the Qore xml module
 Group:          Development/Languages
@@ -51,40 +92,39 @@
 This package contains the HTML documentation and example programs for the Qore
 xml module.
 
-%package tools
-Summary:        User tools writen in Qore Programming Language
-License:        GPL-2.0-or-later OR LGPL-2.0-or-later OR MIT
-Group:          Development/Tools/Other
-Requires:       %{name} = %{version}-%{release}
-
-%description tools
-This package contains the webdav server and soap utils.
+%files doc
+%defattr(-,root,root,-)
+%doc docs/xml docs/XmlRpcHandler docs/SalesforceSoapClient docs/SoapClient 
docs/SoapDataProvider docs/SoapHandler docs/WSDL docs/XmlRpcConnection test 
examples
 
 %prep
-%setup -q -n %{src_name}
+%setup -q
+./configure RPM_OPT_FLAGS="$RPM_OPT_FLAGS" --prefix=/usr --disable-debug
 
 %build
-%cmake
-%make_build docs
+%{__make}
+find test -type f|xargs chmod 644
+find docs -type f|xargs chmod 644
 
 %install
-%cmake_install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{module_dir}
+mkdir -p $RPM_BUILD_ROOT/%{user_module_dir}
+mkdir -p $RPM_BUILD_ROOT/usr/share/doc/qore-xml-module
+make install DESTDIR=$RPM_BUILD_ROOT
 %fdupes -s %{__builddir}/html
 # Fix scripts
 find examples -name "*.q" -exec sed -i '1 s/env qore/qore/' \{\} +
 for f in "%{buildroot}%{_bindir}/"{soaputil,webdav-server}; do sed -i '1 s/env 
qore/qore/' "$f"; done
 
-%files
-%license COPYING.LGPL COPYING.MIT
-%{_datadir}/qore-modules
-%{_libdir}/qore-modules
-
-%files doc
-%doc %{__builddir}/html examples
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-%files tools
-%doc README RELEASE-NOTES
-%{_bindir}/webdav-server
+%files
+%defattr(-,root,root,-)
+%{module_dir}
+%{user_module_dir}
 %{_bindir}/soaputil
+%{_bindir}/webdav-server
+%doc COPYING.LGPL COPYING.MIT README RELEASE-NOTES AUTHORS
 
 %changelog

Reply via email to