!5 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-07 08:41:57 +00:00 committed by Gitee
commit 637197ae2f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From b23e729d0e3553366af241f0583e6b7cccea57a3 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sat, 18 Jun 2022 10:21:52 -0700
Subject: [PATCH 01/11] 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 826f388..fda866a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ(2.59c)
AC_INIT([xcb-util-keysyms],0.4.0,[xcb@lists.freedesktop.org])
AC_CONFIG_SRCDIR([Makefile.am])
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,12 +1,14 @@
Name: xcb-util-keysyms Name: xcb-util-keysyms
Version: 0.4.0 Version: 0.4.0
Release: 10 Release: 11
Summary: Standard X key constants and conversion to/from keycodes Summary: Standard X key constants and conversion to/from keycodes
License: MIT License: MIT
URL: http://xcb.freedesktop.org URL: http://xcb.freedesktop.org
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
BuildRequires: gcc pkgconfig(xcb-util) >= 0.3.8 m4 BuildRequires: gcc pkgconfig(xcb-util) >= 0.3.8 m4
Patch0001: backport-0001-Build-xz-tarballs-instead-of-bzip2.patch
%description %description
Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes. Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes.
@ -47,5 +49,8 @@ make check
%{_includedir}/xcb/*.h %{_includedir}/xcb/*.h
%changelog %changelog
* Sat Jan 7 2023 yangbo <yangbo1@xfusion.com> - 0.4.0-11
- Build xz tarballs instead of bzip2
* Tue Oct 22 2019 Lijin Yang <yanglijin@huawei.com> - 0.4.0-10 * Tue Oct 22 2019 Lijin Yang <yanglijin@huawei.com> - 0.4.0-10
- Package init - Package init