!9 Build xz tarballs instead of bzip2

From: @yangbo2022 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-01-09 06:22:01 +00:00 committed by Gitee
commit adc267b1e9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 3892bf22557a8203027714ef18693e347947c7ac Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sat, 18 Jun 2022 10:16:33 -0700
Subject: [PATCH 04/13] 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 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

View File

@ -1,6 +1,6 @@
Name: xcb-util-cursor Name: xcb-util-cursor
Version: 0.1.3 Version: 0.1.3
Release: 2 Release: 3
Summary: Cursor library on top of libxcb Summary: Cursor library on top of libxcb
License: MIT License: MIT
URL: http://xcb.freedesktop.org URL: http://xcb.freedesktop.org
@ -12,6 +12,8 @@ BuildRequires: pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(xcb-image) BuildRequires: pkgconfig(xcb-image)
BuildRequires: m4 BuildRequires: m4
Patch0001: backport-0001-Build-xz-tarballs-instead-of-bzip2.patch
%description %description
XCB util-cursor module provides the following libraries: XCB util-cursor module provides the following libraries:
@ -28,6 +30,7 @@ Development files for xcb-util-cursor.
%prep %prep
%setup -q %setup -q
%patch0001 -p1
%build %build
@ -64,6 +67,9 @@ rm %{buildroot}%{_libdir}/*.la
%changelog %changelog
* Mon Jan 9 2023 yangbo <yangbo1@xfusion.com> - 0.1.3-3
- Build xz tarballs instead of bzip2
* Tue Nov 22 2022 caodongxia <caodongxia@h-partners.com> - 0.1.3-2 * Tue Nov 22 2022 caodongxia <caodongxia@h-partners.com> - 0.1.3-2
- Modify invalid source0 - Modify invalid source0