]> granicus.if.org Git - strace/commitdiff
Generate an xz tar archive of the distribution
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 27 Feb 2011 14:05:58 +0000 (14:05 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 27 Feb 2011 14:05:58 +0000 (14:05 +0000)
* 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.

.gitignore
Makefile.am
configure.ac
debian/watch
make-dist
strace.spec

index 3adf1cf313a6b4f664bf716df9db677f8885097a..1043e1f13160097e7d1b4d526893ead4e625162b 100644 (file)
@@ -29,3 +29,5 @@ Makefile.in
 /ioctldefs.h
 /ioctlsort
 /strace
+
+/strace-*.tar.xz
index f623b9d9fe4918a41165d5f31d24170c45d3760f..c13b11dd12a2ff387fa911d888c8acfdecbb6515 100644 (file)
@@ -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
 
index ca1694bdc01a57b93bb3fd2cbd09ecb57663da05..be2494aea29ac5a9b7dbb83df14e03ecf85aefae 100644 (file)
@@ -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
 
index 166cc9c873314006c5843ac8c12e7380324d7b49..5e4f652af55663f969eb306a3be9e9dd8e0104f4 100644 (file)
@@ -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
index a4e598c8b981864e40a287622f14ac67593810f7..fb5d8cea065cecb9ba5c7532f9dbc0a2620cb90c 100755 (executable)
--- 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 ..
index e046c625bf8e630181e742b2def68c3f753ef959..4e806d7b7c4a19221a65e14562ced0cd64adef66 100644 (file)
@@ -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