From: Dmitry V. Levin Date: Sun, 27 Feb 2011 14:05:58 +0000 (+0000) Subject: Generate an xz tar archive of the distribution X-Git-Tag: v4.6~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=525a39a01a10f98e5020220012aa803c0e6c7df0;p=strace Generate an xz tar archive of the distribution * configure.ac (AM_INIT_AUTOMAKE): Replace dist-bzip2 with dist-xz. * Makefile.am: Update srpm target. * make-dist: Update for dist-xz. * strace.spec: Update Source tag. * debian/watch: Update regexp. * .gitignore: Add strace-*.tar.xz. --- diff --git a/.gitignore b/.gitignore index 3adf1cf3..1043e1f1 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,5 @@ Makefile.in /ioctldefs.h /ioctlsort /strace + +/strace-*.tar.xz diff --git a/Makefile.am b/Makefile.am index f623b9d9..c13b11dd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -93,8 +93,8 @@ EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \ xlate.el .PHONY: srpm -srpm: dist-bzip2 - rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.bz2 +srpm: dist-xz + rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.xz if MAINTAINER_MODE diff --git a/configure.ac b/configure.ac index ca1694bd..be2494ae 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/debian/watch b/debian/watch index 166cc9c8..5e4f652a 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,2 @@ version=3 -opts="uversionmangle=s/-/./g" http://sf.net/strace/strace-([[:digit:].-]*)\.tar\.bz2 +opts="uversionmangle=s/-/./g" http://sf.net/strace/strace-([[:digit:].-]*)\.tar\.xz diff --git a/make-dist b/make-dist index a4e598c8..fb5d8cea 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 e046c625..4e806d7b 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