diff --git a/backport-0001-Build-xz-tarballs-instead-of-bzip2.patch b/backport-0001-Build-xz-tarballs-instead-of-bzip2.patch deleted file mode 100644 index e7f1ae4deede828edac106ead6c884948703aac5..0000000000000000000000000000000000000000 --- a/backport-0001-Build-xz-tarballs-instead-of-bzip2.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b23e729d0e3553366af241f0583e6b7cccea57a3 Mon Sep 17 00:00:00 2001 -From: Alan Coopersmith -Date: Sat, 18 Jun 2022 10:21:52 -0700 -Subject: [PATCH 01/11] Build xz tarballs instead of bzip2 - -Signed-off-by: Alan Coopersmith ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 826f388..fda866a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2,7 +2,7 @@ AC_PREREQ(2.59c) - AC_INIT([xcb-util-keysyms],0.4.0,[xcb@lists.freedesktop.org]) - AC_CONFIG_SRCDIR([Makefile.am]) - AC_CONFIG_MACRO_DIR([m4]) --AM_INIT_AUTOMAKE([foreign dist-bzip2]) -+AM_INIT_AUTOMAKE([foreign dist-xz]) - AM_MAINTAINER_MODE - - XCB_UTIL_COMMON([1.4], [1.6]) --- -2.39.0.windows.2 - diff --git a/backport-0002-Add-COPYING-file.patch b/backport-0002-Add-COPYING-file.patch deleted file mode 100644 index 1b2d9c7597f3dc8a2cfd11962355be0a9fa8c56a..0000000000000000000000000000000000000000 --- a/backport-0002-Add-COPYING-file.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 439be15cde3c7b5ba07b175dcf7b724d155d30aa Mon Sep 17 00:00:00 2001 -From: Alan Coopersmith -Date: Wed, 3 Aug 2022 13:15:40 -0700 -Subject: [PATCH 10/11] Add COPYING file - -Fixes: #2 - -Signed-off-by: Alan Coopersmith ---- - COPYING | 28 ++++++++++++++++++++++++++++ - 1 file changed, 28 insertions(+) - create mode 100644 COPYING - -diff --git a/COPYING b/COPYING -new file mode 100644 -index 0000000..2e78eed ---- /dev/null -+++ b/COPYING -@@ -0,0 +1,28 @@ -+Copyright © 2008 Ian Osgood -+Copyright © 2008 Jamey Sharp -+Copyright © 2008 Josh Triplett -+Copyright © 2008 Ulrich Eckhardt -+ -+Permission is hereby granted, free of charge, to any person -+obtaining a copy of this software and associated documentation -+files (the "Software"), to deal in the Software without -+restriction, including without limitation the rights to use, copy, -+modify, merge, publish, distribute, sublicense, and/or sell copies -+of the Software, and to permit persons to whom the Software is -+furnished to do so, subject to the following conditions: -+ -+The above copyright notice and this permission notice shall be -+included in all copies or substantial portions of the Software. -+ -+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY -+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -+ -+Except as contained in this notice, the names of the authors or -+their institutions shall not be used in advertising or otherwise to -+promote the sale, use or other dealings in this Software without -+prior written authorization from the authors. --- -2.39.0.windows.2 - diff --git a/xcb-util-keysyms-0.4.0.tar.bz2 b/xcb-util-keysyms-0.4.0.tar.bz2 deleted file mode 100644 index f88baaa0f7253f4d53f2199b50bee218838812e5..0000000000000000000000000000000000000000 Binary files a/xcb-util-keysyms-0.4.0.tar.bz2 and /dev/null differ diff --git a/xcb-util-keysyms-0.4.1.tar.xz b/xcb-util-keysyms-0.4.1.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..c53f1d786797da5a0fa57f28051f95f59c8680b9 Binary files /dev/null and b/xcb-util-keysyms-0.4.1.tar.xz differ diff --git a/xcb-util-keysyms.spec b/xcb-util-keysyms.spec index 7a18f2ade281df9f9349f3e8f99dbbfd752bd21f..aa823178a93049bc35998dfc220eed6676f8f285 100644 --- a/xcb-util-keysyms.spec +++ b/xcb-util-keysyms.spec @@ -1,14 +1,13 @@ Name: xcb-util-keysyms -Version: 0.4.0 -Release: 12 +Version: 0.4.1 +Release: 1 Summary: Standard X key constants and conversion to/from keycodes License: MIT -URL: http://xcb.freedesktop.org -Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 -BuildRequires: gcc pkgconfig(xcb-util) >= 0.3.8 m4 - -Patch0001: backport-0001-Build-xz-tarballs-instead-of-bzip2.patch -Patch0002: backport-0002-Add-COPYING-file.patch +URL: https://xcb.freedesktop.org +Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz +BuildRequires: gcc make +BuildRequires: pkgconfig(xcb) >= 1.4 +BuildRequires: pkgconfig(xproto) >= 7.0.8 %description Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes. @@ -34,13 +33,9 @@ make check %make_install %delete_la -%post -/sbin/ldconfig -%postun -/sbin/ldconfig - %files -%doc README +%license COPYING +%doc README.md %{_libdir}/*.so.* %files devel @@ -50,6 +45,9 @@ make check %{_includedir}/xcb/*.h %changelog +* Tue Oct 07 2025 Funda Wang - 0.4.1-1 +- update to 0.4.1 + * Mon Jan 9 2023 yangbo - 0.4.0-12 - Add COPYING file