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:
parent
983e875c1c
commit
525a39a01a
2
.gitignore
vendored
2
.gitignore
vendored
@ -29,3 +29,5 @@ Makefile.in
|
||||
/ioctldefs.h
|
||||
/ioctlsort
|
||||
/strace
|
||||
|
||||
/strace-*.tar.xz
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
2
debian/watch
vendored
2
debian/watch
vendored
@ -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
|
||||
|
@ -22,4 +22,4 @@ autoreconf -i -f
|
||||
|
||||
make -s $j distcheck
|
||||
|
||||
mv -f *.tar.bz2 ..
|
||||
mv -f strace-*.tar.xz ..
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user