Build xz tarballs instead of bzip2

Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
This commit is contained in:
zhang-liang-pengkun 2024-01-18 21:42:12 +08:00
parent 7e5640c3a5
commit e2af006b35
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 62518b549eddf3e2f113e965ca90bbe58180993f Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed, 20 Jul 2022 15:25:04 -0700
Subject: [PATCH] Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
---
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

View File

@ -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<zhangliangpengkun@xfusion.com> - 0.3.9-16
- Build xz tarballs instead of bzip2
* Fri Jan 6 2023 yangbo <yangbo1@xfusion.com> - 0.3.9-15
- Update configure.ac bug URL for gitlab migration