From e2af006b3591095837bc7f79be0cb6871d0585d7 Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Thu, 18 Jan 2024 21:42:12 +0800 Subject: [PATCH] Build xz tarballs instead of bzip2 Signed-off-by: zhang-liang-pengkun --- 0002-Build-xz-tarballs-instead-of-bzip2.patch | 26 +++++++++++++++++++ xcb-util-renderutil.spec | 6 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0002-Build-xz-tarballs-instead-of-bzip2.patch diff --git a/0002-Build-xz-tarballs-instead-of-bzip2.patch b/0002-Build-xz-tarballs-instead-of-bzip2.patch new file mode 100644 index 0000000..1dce280 --- /dev/null +++ b/0002-Build-xz-tarballs-instead-of-bzip2.patch @@ -0,0 +1,26 @@ +From 62518b549eddf3e2f113e965ca90bbe58180993f Mon Sep 17 00:00:00 2001 +From: Alan Coopersmith +Date: Wed, 20 Jul 2022 15:25:04 -0700 +Subject: [PATCH] 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 046a39e..7b4bc8b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -5,7 +5,7 @@ AC_INIT([xcb-util-renderutil],[0.3.9], + AC_CONFIG_SRCDIR([Makefile.am]) + AC_CONFIG_HEADERS([config.h]) + 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/xcb-util-renderutil.spec b/xcb-util-renderutil.spec index 2d60231..675fff7 100644 --- a/xcb-util-renderutil.spec +++ b/xcb-util-renderutil.spec @@ -1,6 +1,6 @@ Name: xcb-util-renderutil Version: 0.3.9 -Release: 15 +Release: 16 Summary: Render extension convenience functions License: MIT URL: https://gitlab.freedesktop.org/xorg/lib/libxcb-render-util @@ -8,6 +8,7 @@ Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 BuildRequires: gcc pkgconfig(xcb-util) >= 0.3.8 m4 Patch0001: backport-0001-Update-configure.ac-bug-URL-for-gitlab-migration.patch +Patch0002: 0002-Build-xz-tarballs-instead-of-bzip2.patch %description Utility libraries for XC Binding - Convenience functions for the Render extension. @@ -50,6 +51,9 @@ make check %{_includedir}/xcb/*.h %changelog +* Thu Jan 18 2024 zhangliangpengkun - 0.3.9-16 +- Build xz tarballs instead of bzip2 + * Fri Jan 6 2023 yangbo - 0.3.9-15 - Update configure.ac bug URL for gitlab migration