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.
This commit is contained in:
Дмитрий Левин 2011-02-27 14:05:58 +00:00
parent 983e875c1c
commit 525a39a01a
6 changed files with 8 additions and 6 deletions

2
.gitignore vendored
View File

@ -29,3 +29,5 @@ Makefile.in
/ioctldefs.h /ioctldefs.h
/ioctlsort /ioctlsort
/strace /strace
/strace-*.tar.xz

View File

@ -93,8 +93,8 @@ EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \
xlate.el xlate.el
.PHONY: srpm .PHONY: srpm
srpm: dist-bzip2 srpm: dist-xz
rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.bz2 rpmbuild --define '%_srcrpmdir .' -ts $(distdir).tar.xz
if MAINTAINER_MODE if MAINTAINER_MODE

View File

@ -4,7 +4,7 @@ AC_INIT([strace],[4.5.20])
AC_CONFIG_SRCDIR([strace.c]) AC_CONFIG_SRCDIR([strace.c])
AC_CONFIG_AUX_DIR([.]) AC_CONFIG_AUX_DIR([.])
AM_CONFIG_HEADER([config.h]) 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 AM_MAINTAINER_MODE
AC_CANONICAL_HOST AC_CANONICAL_HOST

2
debian/watch vendored
View File

@ -1,2 +1,2 @@
version=3 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

View File

@ -22,4 +22,4 @@ autoreconf -i -f
make -s $j distcheck make -s $j distcheck
mv -f *.tar.bz2 .. mv -f strace-*.tar.xz ..

View File

@ -5,7 +5,7 @@ Release: 2%{?dist}
License: BSD License: BSD
Group: Development/Debuggers Group: Development/Debuggers
URL: http://sourceforge.net/projects/strace/ 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libacl-devel, libaio-devel, time BuildRequires: libacl-devel, libaio-devel, time