Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libXres for openSUSE:Factory checked 
in at 2021-04-10 15:26:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libXres (Old)
 and      /work/SRC/openSUSE:Factory/.libXres.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libXres"

Sat Apr 10 15:26:03 2021 rev:10 rq:883189 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libXres/libXres.changes  2017-10-21 
20:20:46.105830788 +0200
+++ /work/SRC/openSUSE:Factory/.libXres.new.2401/libXres.changes        
2021-04-10 15:26:12.982296515 +0200
@@ -1,0 +2,14 @@
+Tue Apr  6 02:03:23 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- modernize spec file (move license to licensedir) 
+
+-------------------------------------------------------------------
+Wed Mar 31 20:44:50 UTC 2021 - Stefan Dirsch <sndir...@suse.com>
+
+- Update to version 1.2.1
+  * Update README for gitlab migration
+  * Update configure.ac bug URL for gitlab migration
+  * Note ABI of XResQueryClientIds
+  * XRes: Use _XRead instead of _XRead32 for reading pid
+
+-------------------------------------------------------------------

Old:
----
  libXres-1.2.0.tar.bz2

New:
----
  libXres-1.2.1.tar.bz2

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

Other differences:
------------------
++++++ libXres.spec ++++++
--- /var/tmp/diff_new_pack.4MQDv9/_old  2021-04-10 15:26:13.370296972 +0200
+++ /var/tmp/diff_new_pack.4MQDv9/_new  2021-04-10 15:26:13.370296972 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libXres
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,22 @@
 # 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/
 #
 
 
-Name:           libXres
 %define lname  libXRes1
-Version:        1.2.0
+Name:           libXres
+Version:        1.2.1
 Release:        0
 Summary:        X Resource extension client library
 License:        MIT
 Group:          Development/Libraries/C and C++
-Url:            http://xorg.freedesktop.org/
-
+URL:            https://xorg.freedesktop.org/
 #Git-Clone:    git://anongit.freedesktop.org/xorg/lib/libXRes
 #Git-Web:      http://cgit.freedesktop.org/xorg/lib/libXRes/
-Source:         
http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
+Source:         
https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-#git#BuildRequires:    autoconf >= 2.60, automake, libtool
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(resourceproto) >= 1.0
 BuildRequires:  pkgconfig(x11)
@@ -44,11 +41,11 @@
 clients to see and monitor the X resource usage of various clients
 (pixmaps, et al).
 
-%package -n %lname
+%package -n %{lname}
 Summary:        X Resource extension client library
 Group:          System/Libraries
 
-%description -n %lname
+%description -n %{lname}
 libXRes provides an X Window System client interface to the Resource
 extension to the X protocol. The Resource extension allows for X
 clients to see and monitor the X resource usage of various clients
@@ -57,7 +54,7 @@
 %package devel
 Summary:        Development files for the X Resource extension library
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %version
+Requires:       %{lname} = %{version}
 
 %description devel
 libXRes provides an X Window System client interface to the Resource
@@ -66,33 +63,30 @@
 (pixmaps, et al).
 
 This package contains the development headers for the library found
-in %lname.
+in %{lname}.
 
 %prep
 %setup -q
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
-make install DESTDIR="%buildroot"
-rm -f "%buildroot/%_libdir"/*.la
-
-%post -n %lname -p /sbin/ldconfig
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
-%postun -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%files -n %lname
-%defattr(-,root,root)
-%doc COPYING
-%_libdir/libXRes.so.1*
+%files -n %{lname}
+%license COPYING
+%{_libdir}/libXRes.so.1*
 
 %files devel
-%defattr(-,root,root)
-%_includedir/X11/*
-%_libdir/libXRes.so
-%_libdir/pkgconfig/xres.pc
-%_mandir/man3/*
+%{_includedir}/X11/*
+%{_libdir}/libXRes.so
+%{_libdir}/pkgconfig/xres.pc
+%{_mandir}/man3/*
 
 %changelog

++++++ libXres-1.2.0.tar.bz2 -> libXres-1.2.1.tar.bz2 ++++++
++++ 7221 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/ChangeLog new/libXres-1.2.1/ChangeLog
--- old/libXres-1.2.0/ChangeLog 2017-10-11 17:12:59.000000000 +0200
+++ new/libXres-1.2.1/ChangeLog 2021-03-31 22:05:02.000000000 +0200
@@ -1,3 +1,60 @@
+commit c05c6d918b0e2011d4bfa370c321482e34630b17
+Author: Keith Packard <kei...@keithp.com>
+Date:   Tue Mar 30 21:36:16 2021 -0700
+
+    libXres 1.2.1
+    
+    Signed-off-by: Keith Packard <kei...@keithp.com>
+
+commit 53581bba3ee20671e6e5ab7c743bfbf6ffbe6974
+Author: Keith Packard <kei...@keithp.com>
+Date:   Tue Mar 30 21:05:48 2021 -0700
+
+    Note ABI of XResQueryClientIds
+    
+    XResQueryClientIds is now documented to return an array of 32-bit
+    values, not an array of longs. The previous implementation allocated
+    space for 32-bit values but read longs into that, overflowing the
+    array. Applications using this were expecting 32-bit values.
+    
+    This "worked" on little endian 64-bit systems because only one value
+    was typically provided and the low 32-bits got stuck in the right
+    place, although the allocation was overrun at the end. That might
+    cause trouble if the allocator is checking carefully.
+    
+    Signed-off-by: Keith Packard <kei...@keithp.com>
+
+commit 3e6bdd90c604e061c71715865eb403ffdd0dd7f0
+Author: Ray Strode <rstr...@redhat.com>
+Date:   Wed Oct 21 10:03:23 2020 -0400
+
+    XRes: Use _XRead instead of _XRead32 for reading pid
+    
+    _XRead32 requires the output variable to be a long, but
+    `ReadClientValues` feeds it client->value which is a
+    32-bit allocation.
+    
+    This commit changes the code to use _XRead instead, which
+    properly handles 32-bit output variables.
+    
+    https://gitlab.freedesktop.org/xorg/lib/libxres/-/issues/3
+
+commit 97d312e5fd9b4b97e3f50c899a40325768f246a5
+Author: Alan Coopersmith <alan.coopersm...@oracle.com>
+Date:   Fri Dec 7 19:49:47 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com>
+
+commit a90ff752cfe4020c323d927fe856e91c49abbc93
+Author: Alan Coopersmith <alan.coopersm...@oracle.com>
+Date:   Mon Nov 19 21:27:37 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com>
+
 commit 84b9156c7833dfd91c65d33542420ff4fe226948
 Author: Adam Jackson <a...@redhat.com>
 Date:   Wed Oct 11 11:11:01 2017 -0400
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/Makefile.am new/libXres-1.2.1/Makefile.am
--- old/libXres-1.2.0/Makefile.am       2017-10-11 17:12:49.000000000 +0200
+++ new/libXres-1.2.1/Makefile.am       2021-03-31 22:04:55.000000000 +0200
@@ -37,3 +37,5 @@
        $(CHANGELOG_CMD)
 
 dist-hook: ChangeLog INSTALL
+
+EXTRA_DIST = README.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/README new/libXres-1.2.1/README
--- old/libXres-1.2.0/README    2017-10-11 17:12:49.000000000 +0200
+++ new/libXres-1.2.1/README    1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-libXRes - X-Resource extension client library
-
-All questions regarding this software should be directed at the
-Xorg mailing list:
-
-        http://lists.freedesktop.org/mailman/listinfo/xorg
-
-Please submit bug reports to the Xorg bugzilla:
-
-        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
-
-The master development code repository can be found at:
-
-        git://anongit.freedesktop.org/git/xorg/lib/libXRes
-
-        http://cgit.freedesktop.org/xorg/lib/libXRes
-
-For patch submission instructions, see:
-
-       http://www.x.org/wiki/Development/Documentation/SubmittingPatches
-
-For more information on the git code manager, see:
-
-        http://wiki.x.org/wiki/GitPage
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/README.md new/libXres-1.2.1/README.md
--- old/libXres-1.2.0/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/libXres-1.2.1/README.md 2021-03-31 22:04:55.000000000 +0200
@@ -0,0 +1,17 @@
+libXRes - X-Resource extension client library
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+  https://lists.x.org/mailman/listinfo/xorg
+
+The master development code repository can be found at:
+
+  https://gitlab.freedesktop.org/xorg/lib/libXRes
+
+Please submit bug reports and requests to merge patches there.
+
+For patch submission instructions, see:
+
+  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/compile new/libXres-1.2.1/compile
--- old/libXres-1.2.0/compile   2017-10-11 17:12:55.000000000 +0200
+++ new/libXres-1.2.1/compile   2021-03-31 22:04:59.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-10-14.11; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 # Written by Tom Tromey <tro...@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -53,7 +53,7 @@
          MINGW*)
            file_conv=mingw
            ;;
-         CYGWIN*)
+         CYGWIN* | MSYS*)
            file_conv=cygwin
            ;;
          *)
@@ -67,7 +67,7 @@
        mingw/*)
          file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
          ;;
-       cygwin/*)
+       cygwin/* | msys/*)
          file=`cygpath -m "$file" || echo "$file"`
          ;;
        wine/*)
@@ -255,7 +255,8 @@
     echo "compile $scriptversion"
     exit $?
     ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
 esac
@@ -339,9 +340,9 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/configure.ac new/libXres-1.2.1/configure.ac
--- old/libXres-1.2.0/configure.ac      2017-10-11 17:12:49.000000000 +0200
+++ new/libXres-1.2.1/configure.ac      2021-03-31 22:04:55.000000000 +0200
@@ -29,8 +29,8 @@
 # digit in the version number to track changes which don't affect the
 # protocol, so XRes version l.n.m corresponds to protocol version l.n
 #
-AC_INIT([libXres], [1.2.0],
-        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXres])
+AC_INIT([libXres], [1.2.1],
+        [https://gitlab.freedesktop.org/xorg/lib/libXRes/issues], [libXres])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/include/X11/extensions/XRes.h 
new/libXres-1.2.1/include/X11/extensions/XRes.h
--- old/libXres-1.2.0/include/X11/extensions/XRes.h     2017-10-11 
17:12:49.000000000 +0200
+++ new/libXres-1.2.1/include/X11/extensions/XRes.h     2021-03-31 
22:04:55.000000000 +0200
@@ -98,6 +98,7 @@
 
 /* v1.2 */
 
+/* Returns an array of uint32_t values, not an array of long */
 Status XResQueryClientIds (
    Display            *dpy,
    long                num_specs,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/missing new/libXres-1.2.1/missing
--- old/libXres-1.2.0/missing   2017-10-11 17:12:55.000000000 +0200
+++ new/libXres-1.2.1/missing   2021-03-31 22:04:59.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@
   exit $st
 fi
 
-perl_URL=http://www.perl.org/
-flex_URL=http://flex.sourceforge.net/
-gnu_software_URL=http://www.gnu.org/software
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
 
 program_details ()
 {
@@ -207,9 +207,9 @@
 exit $st
 
 # Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libXres-1.2.0/src/XRes.c new/libXres-1.2.1/src/XRes.c
--- old/libXres-1.2.0/src/XRes.c        2017-10-11 17:12:49.000000000 +0200
+++ new/libXres-1.2.1/src/XRes.c        2021-03-31 22:04:55.000000000 +0200
@@ -256,11 +256,12 @@
         _XRead32 (dpy, &value, 4);
         client->length = value;
         client->value = malloc(client->length);
-        _XRead32 (dpy, client->value, client->length);
+        _XRead (dpy, client->value, client->length);
     }
     return True;
 }
 
+/* Returns an array of uint32_t values, not an array of long */
 Status XResQueryClientIds (
    Display            *dpy,
    long                num_specs,

Reply via email to