!6 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 07:16:31 +00:00 committed by Gitee
commit fbd94ad313
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 dbb4df470dbe8ec142218fac4c7563a5772ff07c Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed, 20 Jul 2022 15:40:21 -0700
Subject: [PATCH 03/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 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

View File

@ -1,12 +1,14 @@
Name: xcb-util-wm Name: xcb-util-wm
Version: 0.4.1 Version: 0.4.1
Release: 15 Release: 16
Summary: Client and window-manager helpers for EWMH and ICCCM Summary: Client and window-manager helpers for EWMH and ICCCM
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
XCB util-wm module provides the following libraries: Both client and window-manager helpers XCB util-wm module provides the following libraries: Both client and window-manager helpers
for EWMH, Both client and window-manager helpers for ICCCM. for EWMH, Both client and window-manager helpers for ICCCM.
@ -49,5 +51,8 @@ make check
%{_includedir}/xcb/*.h %{_includedir}/xcb/*.h
%changelog %changelog
* Mon Jan 9 2023 yangbo <yangbo1@xfusion.com> - 0.4.1-16
- Build xz tarballs instead of bzip2
* Wed Oct 23 2019 Lijin Yang <yanglijin@huawei.com> - 0.4.1-15 * Wed Oct 23 2019 Lijin Yang <yanglijin@huawei.com> - 0.4.1-15
- Package init - Package init