diff --git a/backport-0001-Build-xz-tarballs-instead-of-bzip2.patch b/backport-0001-Build-xz-tarballs-instead-of-bzip2.patch new file mode 100644 index 0000000000000000000000000000000000000000..1e3b2393396791fbf7c326bd862822ba8e7e6f93 --- /dev/null +++ b/backport-0001-Build-xz-tarballs-instead-of-bzip2.patch @@ -0,0 +1,26 @@ +From 3892bf22557a8203027714ef18693e347947c7ac Mon Sep 17 00:00:00 2001 +From: Alan Coopersmith +Date: Sat, 18 Jun 2022 10:16:33 -0700 +Subject: [PATCH 04/13] 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 828a1bd..02a597f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -9,7 +9,7 @@ AC_CONFIG_MACRO_DIR([m4]) + # to avoid autoconf errors. + AC_USE_SYSTEM_EXTENSIONS + +-AM_INIT_AUTOMAKE([foreign dist-bzip2]) ++AM_INIT_AUTOMAKE([foreign dist-xz]) + AM_MAINTAINER_MODE + + AC_TYPE_SSIZE_T +-- +2.39.0.windows.2 + diff --git a/xcb-util-cursor.spec b/xcb-util-cursor.spec index e9770ec4f0f684c56fae0ccdf6c44ce77410e38c..79e2f03347a9ead6d4c11d9fcc970c3d3db473a3 100644 --- a/xcb-util-cursor.spec +++ b/xcb-util-cursor.spec @@ -1,6 +1,6 @@ Name: xcb-util-cursor Version: 0.1.3 -Release: 2 +Release: 3 Summary: Cursor library on top of libxcb License: MIT URL: http://xcb.freedesktop.org @@ -12,6 +12,8 @@ BuildRequires: pkgconfig(xcb-renderutil) BuildRequires: pkgconfig(xcb-image) BuildRequires: m4 +Patch0001: backport-0001-Build-xz-tarballs-instead-of-bzip2.patch + %description XCB util-cursor module provides the following libraries: @@ -28,6 +30,7 @@ Development files for xcb-util-cursor. %prep %setup -q +%patch0001 -p1 %build @@ -64,6 +67,9 @@ rm %{buildroot}%{_libdir}/*.la %changelog +* Mon Jan 9 2023 yangbo - 0.1.3-3 +- Build xz tarballs instead of bzip2 + * Tue Nov 22 2022 caodongxia - 0.1.3-2 - Modify invalid source0