[PATCH] Generate an xz tar archive of the distribution

Dmitry V. Levin ldv at altlinux.org
Sun Feb 27 15:13:28 UTC 2011


* configure.ac (AM_INIT_AUTOMAKE): Replace dist-bzip2 with dist-xz.
* make-dist: Update for dist-xz.
* strace.spec: Update Source tag.
* .gitignore: Add strace-*.tar.xz.
---

xz(1) tool is widespread enough to change tar archive compression
from bzip2 to xz.

 .gitignore   |    2 ++
 configure.ac |    2 +-
 make-dist    |    2 +-
 strace.spec  |    2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3adf1cf..1043e1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,5 @@ Makefile.in
 /ioctldefs.h
 /ioctlsort
 /strace
+
+/strace-*.tar.xz
diff --git a/configure.ac b/configure.ac
index ca1694b..be2494a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ AC_INIT([strace],[4.5.20])
 AC_CONFIG_SRCDIR([strace.c])
 AC_CONFIG_AUX_DIR([.])
 AM_CONFIG_HEADER([config.h])
-AM_INIT_AUTOMAKE([foreign check-news dist-bzip2 no-dist-gzip silent-rules])
+AM_INIT_AUTOMAKE([foreign check-news dist-xz no-dist-gzip silent-rules])
 AM_MAINTAINER_MODE
 AC_CANONICAL_HOST
 
diff --git a/make-dist b/make-dist
index a4e598c..fb5d8ce 100755
--- a/make-dist
+++ b/make-dist
@@ -22,4 +22,4 @@ autoreconf -i -f
 
 make -s $j distcheck
 
-mv -f *.tar.bz2 ..
+mv -f strace-*.tar.xz ..
diff --git a/strace.spec b/strace.spec
index e046c62..4e806d7 100644
--- a/strace.spec
+++ b/strace.spec
@@ -5,7 +5,7 @@ Release: 2%{?dist}
 License: BSD
 Group: Development/Debuggers
 URL: http://sourceforge.net/projects/strace/
-Source0: http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.bz2
+Source: http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: libacl-devel, libaio-devel, time


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110227/25e69f94/attachment.bin>


More information about the Strace-devel mailing list