Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tdom for openSUSE:Factory checked in 
at 2022-04-20 17:03:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tdom (Old)
 and      /work/SRC/openSUSE:Factory/.tdom.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tdom"

Wed Apr 20 17:03:45 2022 rev:22 rq:971064 version:0.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/tdom/tdom.changes        2019-07-02 
10:38:39.394605620 +0200
+++ /work/SRC/openSUSE:Factory/.tdom.new.1941/tdom.changes      2022-04-20 
17:03:48.283177487 +0200
@@ -1,0 +2,50 @@
+Thu Apr 14 11:14:27 UTC 2022 - Ferdinand Thiessen <[email protected]>
+
+- Update to 0.9.2
+  * Added tdom::schema command.
+  * Added -onlyContents and -breakLines to asHTML.
+  * Added -indent value "tab" to asXML and asJSON.
+  * User configurable separator character between namespace URI
+    and local name for XML namespace-aware SAX parser:  Added the
+    option -namespaceseparator to the expat command.
+  * Added method clearString to the dom command.
+  * Updated tested expat to 2.2.9.
+  * Changed the license to MPL 2.0.
+- Update to 0.9.1
+  * The package name is tDOM, but it always has been requested by
+    [package require tdom] and now the scripted helper commands in
+    tdom.tcl are also in the namespace tdom (not anymore in tDOM).
+    The new pullparser command is now also in this namespace.
+    There are aliases from the old command names to the new one,
+    so there must be nothing done; old scripts will run as they
+    did.
+  * Added new method attributeNames to domNode (cmds).
+  * Added new methods line and column to most pull parser states.
+  * More fine grain control about serialization details: new asXML
+    options -nogtescape and -noEmptyElementTag.
+  * Fixed a potentially dramatic speed problem in case of certain
+    classes of XPath expressions if a threads enabled tDOM is
+    used, the result set is large and the DOM tree to query was
+    altered somewhere before the query by an operation, which
+    appended, inserted or replaced a node.
+  * Added command tDOM::pullparser, with creates simple XML "pull"
+    parser commands.
+  * New flag -keepCDATA for [dom parse ...].
+- Update to 0.9.0
+  * New feature "creating real FQ nodes with *fromScript methods",
+    by adding option -namespace to [dom createNodeCmd].
+  * Removed hacky check on [load] time if the tclsh and tDOM are
+    build with incompatible TCL_UTF_MAX (because it did not work
+    anymore with recent tcl because of changes in core).
+  * Added JSON support. New -json option to [dom parse].
+  * Added HTM5 parser (new -html5 option to [dom parse]).
+  * Added options -xmlDeclaration and -encString to the asXML
+    method of the domDoc and domNode commands.
+  * Improved handling of characters beyond BMP. 
+  * Added dom method featureinfo.
+  * Raised the limit of maximum number of different XML
+    namespaceses within one DOM tree to 2^31.
+- Drop upstream fixed tdom-expat.patch
+- Replace tdom.patch and tdom-tnc.patch with install-libraries-libdir.patch
+
+-------------------------------------------------------------------

Old:
----
  tDOM-0.8.3.tgz
  tdom-expat.patch
  tdom-tnc.patch
  tdom.patch

New:
----
  install-libraries-libdir.patch
  tdom-0.9.2-src.tgz

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

Other differences:
------------------
++++++ tdom.spec ++++++
--- /var/tmp/diff_new_pack.m49EXo/_old  2022-04-20 17:03:49.091178873 +0200
+++ /var/tmp/diff_new_pack.m49EXo/_new  2022-04-20 17:03:49.095178879 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tdom
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -21,20 +21,17 @@
 %define tclscriptdir %_libdir
 %endif
 Summary:        A XML/DOM/XPath/XSLT Implementation for Tcl
-License:        MPL-1.1
+License:        MPL-2.0
 Group:          Development/Libraries/Tcl
-Version:        0.8.3
+Version:        0.9.2
 Release:        0
-Url:            http://tdom.github.com/
+URL:            http://tdom.org
 BuildRequires:  autoconf
 BuildRequires:  libexpat-devel
 BuildRequires:  tcl-devel
 BuildRequires:  tcllib
-Source0:        https://github.com/downloads/tDOM/tdom/tDOM-%{version}.tgz
-Patch0:         tdom.patch
-Patch1:         tdom-expat.patch
-Patch2:         tdom-tnc.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source0:        http://tdom.org/downloads/tdom-%{version}-src.tgz
+Patch0:         install-libraries-libdir.patch
 
 %description
 tDOM combines high performance XML data processing with easy and
@@ -53,10 +50,7 @@
 This package contains files for developing software based on tdom.
 
 %prep
-%setup -q -n tDOM-%version
-%patch0
-%patch1
-%patch2
+%autosetup  -p1 -n %{name}-%{version}-src
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
@@ -70,7 +64,7 @@
        --with-tcl=%_libdir \
        --disable-tdomalloc \
        --with-expat
-make
+%make_build
 cd ../extensions/tnc
 autoreconf --force
 CFLAGS="%optflags" ./configure \
@@ -79,7 +73,7 @@
        --mandir=%_mandir \
        --with-tcl=%_libdir \
        --with-tdom=../../build
-make
+%make_build
 
 %check
 cd build
@@ -94,18 +88,14 @@
 cd ../extensions/tnc
 make DESTDIR=%buildroot pkglibdir=%tclscriptdir/tnc0.3.0 install
 
-%clean
-rm -rf %buildroot
-
 %files
-%defattr(-,root,root,-)
-%doc ChangeLog CHANGES README NPL-1_1Final.html LICENSE
+%license MPL_2.0.html LICENSE
+%doc ChangeLog CHANGES README.md
 %doc %_mandir/man*/*
 %tclscriptdir/*
 %_libdir/*.so
 
 %files devel
-%defattr(-,root,root,-)
 %_libdir/tdomConfig.sh
 %_libdir/*.a
 %_includedir/tdom.h

++++++ install-libraries-libdir.patch ++++++
diff -Nur tdom-0.9.2-src/extensions/tnc/configure.in 
new/extensions/tnc/configure.in
--- tdom-0.9.2-src/extensions/tnc/configure.in  2020-08-27 18:32:27.000000000 
+0200
+++ new/extensions/tnc/configure.in     2022-04-14 14:01:29.010792413 +0200
@@ -79,7 +79,7 @@
 TEA_ADD_SOURCES([tnc.c])
 TEA_ADD_HEADERS([])
 TEA_ADD_INCLUDES([-I${srcdir}/../../generic -I${srcdir}/../../expat])
-TEA_ADD_LIBS([${TDOM_STUB_LIB_SPEC}])
+TEA_ADD_LIBS([${TDOM_BUILD_STUB_LIB_SPEC}])
 TEA_ADD_CFLAGS([-DUSE_TDOM_STUBS=1])
 TEA_ADD_STUB_SOURCES([])
 TEA_ADD_TCL_SOURCES([])
diff -Nur tdom-0.9.2-src/extensions/tnc/Makefile.in 
new/extensions/tnc/Makefile.in
--- tdom-0.9.2-src/extensions/tnc/Makefile.in   2020-08-27 18:32:27.000000000 
+0200
+++ new/extensions/tnc/Makefile.in      2022-04-14 14:01:29.010792413 +0200
@@ -372,29 +372,30 @@
 #========================================================================
 
 install-lib-binaries: binaries
-       @$(INSTALL_DATA_DIR) $(DESTDIR)$(pkglibdir)
+       @$(INSTALL_DATA_DIR) $(DESTDIR)$(libdir)
        @list='$(lib_BINARIES)'; for p in $$list; do \
          if test -f $$p; then \
-           echo " $(INSTALL_LIBRARY) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
-           $(INSTALL_LIBRARY) $$p $(DESTDIR)$(pkglibdir)/$$p; \
+           echo " $(INSTALL_LIBRARY) $$p $(DESTDIR)$(libdir)/$$p"; \
+           $(INSTALL_LIBRARY) $$p $(DESTDIR)$(libdir)/$$p; \
            stub=`echo $$p|sed -e "s/.*\(stub\).*/\1/"`; \
            if test "x$$stub" = "xstub"; then \
-               echo " $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p"; \
-               $(RANLIB_STUB) $(DESTDIR)$(pkglibdir)/$$p; \
+               echo " $(RANLIB_STUB) $(DESTDIR)$(libdir)/$$p"; \
+               $(RANLIB_STUB) $(DESTDIR)$(libdir)/$$p; \
            else \
-               echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
-               $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \
+               echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
+               $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
            fi; \
            ext=`echo $$p|sed -e "s/.*\.//"`; \
            if test "x$$ext" = "xdll"; then \
                lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \
                if test -f $$lib; then \
-                   echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; 
\
-                   $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib; \
+                   echo " $(INSTALL_LIBRARY) $$lib $(DESTDIR)$(libdir)/$$lib"; 
\
+                   $(INSTALL_LIBRARY) $$lib $(DESTDIR)$(libdir)/$$lib; \
                fi; \
            fi; \
          fi; \
        done
+       @$(INSTALL_DATA_DIR) $(DESTDIR)$(pkglibdir)
        @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
          if test -f $(srcdir)/$$p; then \
            destp=`basename $$p`; \
diff -Nur tdom-0.9.2-src/extensions/tnc/pkgIndex.tcl.in 
new/extensions/tnc/pkgIndex.tcl.in
--- tdom-0.9.2-src/extensions/tnc/pkgIndex.tcl.in       2020-08-27 
18:32:27.000000000 +0200
+++ new/extensions/tnc/pkgIndex.tcl.in  2022-04-14 14:01:29.010792413 +0200
@@ -2,4 +2,4 @@
 
 package ifneeded tnc @PACKAGE_VERSION@        \
     "package require tdom; \
-     [list load [file join $dir @PKG_LIB_FILE@] tnc]"
+     [list load @PKG_LIB_FILE@ tnc]"
diff -Nur tdom-0.9.2-src/Makefile.in new/Makefile.in
--- tdom-0.9.2-src/Makefile.in  2020-08-27 18:32:27.000000000 +0200
+++ new/Makefile.in     2022-04-14 14:01:29.010792413 +0200
@@ -333,7 +333,7 @@
 
 pkgIndex.tcl-hand:
        @(echo 'package ifneeded $(PACKAGE_NAME) $(PACKAGE_VERSION) \
-       "load [list [file join $$dir $(PKG_LIB_FILE)]];\
+       "load $(PKG_LIB_FILE);\
          source [list [file join $$dir tdom.tcl]]"'\
        ) > pkgIndex.tcl
 
@@ -447,23 +447,24 @@
 #========================================================================
 
 install-lib-binaries: binaries
-       @$(INSTALL_DATA_DIR) $(DESTDIR)$(pkglibdir)
+       @mkdir -p $(DESTDIR)$(libdir)
        @list='$(lib_BINARIES)'; for p in $$list; do \
          if test -f $$p; then \
-           echo " $(INSTALL_LIBRARY) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
-           $(INSTALL_LIBRARY) $$p $(DESTDIR)$(pkglibdir)/$$p; \
+           echo " $(INSTALL_LIBRARY) $$p $(DESTDIR)$(libdir)/$$p"; \
+           $(INSTALL_LIBRARY) $$p $(DESTDIR)$(libdir)/$$p; \
            ext=`echo $$p|sed -e "s/.*\.//"`; \
            if test "x$$ext" = "xdll"; then \
                lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \
                if test -f $$lib; then \
-                   echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib"; 
\
-                   $(INSTALL_DATA) $$lib $(DESTDIR)$(pkglibdir)/$$lib; \
+                   echo " $(INSTALL_LIBRARY) $$lib $(DESTDIR)$(libdir)/$$lib"; 
\
+                   $(INSTALL_LIBRARY) $$lib $(DESTDIR)$(libdir)/$$lib; \
                fi; \
            fi; \
          fi; \
        done
        @echo "Installing tdomConfig.sh to $(DESTDIR)$(libdir)/"
        @$(INSTALL_DATA) tdomConfig.sh "$(DESTDIR)$(libdir)/tdomConfig.sh"
+       @mkdir -p $(DESTDIR)$(pkglibdir)
        @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
          if test -f $(srcdir)/$$p; then \
            destp=`basename $$p`; \
diff -Nur tdom-0.9.2-src/tclconfig/tcl.m4 new/tclconfig/tcl.m4
--- tdom-0.9.2-src/tclconfig/tcl.m4     2020-08-27 18:32:27.000000000 +0200
+++ new/tclconfig/tcl.m4        2022-04-14 14:02:53.395204947 +0200
@@ -3933,6 +3933,7 @@
     TEA_CONFIG_SYSTEM
     case $system in
        HP-UX-*) INSTALL_LIBRARY='${INSTALL} -m 755' ;;
+       Linux-*) INSTALL_LIBRARY='${INSTALL} -m 0755' ;;
              *) INSTALL_LIBRARY='${INSTALL} -m 644' ;;
     esac
 

Reply via email to