From 7cce8e1369d74cf4e1fc640a25c8aa2a19ea292b Mon Sep 17 00:00:00 2001 From: yangbo Date: Mon, 9 Jan 2023 14:38:45 +0800 Subject: [PATCH] Build xz tarballs instead of bzip2 Signed-off-by: yangbo --- ...1-Build-xz-tarballs-instead-of-bzip2.patch | 26 +++++++++++++++++++ xcb-util-wm.spec | 7 ++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 backport-0001-Build-xz-tarballs-instead-of-bzip2.patch 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 0000000..82c3c1e --- /dev/null +++ b/backport-0001-Build-xz-tarballs-instead-of-bzip2.patch @@ -0,0 +1,26 @@ +From dbb4df470dbe8ec142218fac4c7563a5772ff07c Mon Sep 17 00:00:00 2001 +From: Alan Coopersmith +Date: Wed, 20 Jul 2022 15:40:21 -0700 +Subject: [PATCH 03/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 f700e1d..8615af7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -6,7 +6,7 @@ AC_INIT([xcb-util-wm],[0.4.1], + 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_M4_WITH_INCLUDE_PATH +-- +2.39.0.windows.2 + diff --git a/xcb-util-wm.spec b/xcb-util-wm.spec index 506e07d..51588b6 100644 --- a/xcb-util-wm.spec +++ b/xcb-util-wm.spec @@ -1,12 +1,14 @@ Name: xcb-util-wm Version: 0.4.1 -Release: 15 +Release: 16 Summary: Client and window-manager helpers for EWMH and ICCCM 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 + %description XCB util-wm module provides the following libraries: Both client and window-manager helpers for EWMH, Both client and window-manager helpers for ICCCM. @@ -49,5 +51,8 @@ make check %{_includedir}/xcb/*.h %changelog +* Mon Jan 9 2023 yangbo - 0.4.1-16 +- Build xz tarballs instead of bzip2 + * Wed Oct 23 2019 Lijin Yang - 0.4.1-15 - Package init