maint: Switch to xz compressed PAX release archives

This allows us to produce releases that are roughly a third in
size, have no limitation on path length, and are still readable
by all supported platforms.
This commit is contained in:
Andrea Bolognani 2016-06-15 13:19:32 +02:00
parent 475835e38b
commit 2c51fa6ec4
8 changed files with 9 additions and 9 deletions

2
.gitignore vendored
View File

@ -88,7 +88,7 @@
/gnulib/tests/* /gnulib/tests/*
/include/libvirt/libvirt-common.h /include/libvirt/libvirt-common.h
/libtool /libtool
/libvirt-*.tar.gz /libvirt-*.tar.xz
/libvirt-[0-9]* /libvirt-[0-9]*
/libvirt*.pc /libvirt*.pc
/libvirt.spec /libvirt.spec

View File

@ -63,7 +63,7 @@ $(top_srcdir)/HACKING: $(top_srcdir)/docs/hacking1.xsl \
> $@-t && mv $@-t $@ ; fi; > $@-t && mv $@-t $@ ; fi;
rpm: clean rpm: clean
@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz) @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.xz)
check-local: all tests check-local: all tests

View File

@ -56,7 +56,7 @@ exec 3>&-
test "$st" = 0 test "$st" = 0
test -x /usr/bin/lcov && make cov test -x /usr/bin/lcov && make cov
rm -f *.tar.gz rm -f *.tar.xz
make dist make dist
if test -n "$AUTOBUILD_COUNTER" ; then if test -n "$AUTOBUILD_COUNTER" ; then

View File

@ -24,7 +24,7 @@ AH_BOTTOM([#include <config-post.h>])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
dnl Make automake keep quiet about wildcards & other GNUmake-isms; also keep dnl Make automake keep quiet about wildcards & other GNUmake-isms; also keep
dnl quiet about the fact that we intentionally cater to automake 1.9 dnl quiet about the fact that we intentionally cater to automake 1.9
AM_INIT_AUTOMAKE([-Wno-portability -Wno-obsolete tar-ustar subdir-objects]) AM_INIT_AUTOMAKE([-Wno-portability -Wno-obsolete tar-pax no-dist-gzip dist-xz subdir-objects])
dnl older automake's default of ARFLAGS=cru is noisy on newer binutils; dnl older automake's default of ARFLAGS=cru is noisy on newer binutils;
dnl we don't really need the 'u' even in older toolchains. Then there is dnl we don't really need the 'u' even in older toolchains. Then there is
dnl older libtool, which spelled it AR_FLAGS dnl older libtool, which spelled it AR_FLAGS

View File

@ -13,7 +13,7 @@
</p> </p>
<pre> <pre>
$ gunzip -c libvirt-x.x.x.tar.gz | tar xvf - $ xz -c libvirt-x.x.x.tar.xz | tar xvf -
$ cd libvirt-x.x.x $ cd libvirt-x.x.x
$ ./configure</pre> $ ./configure</pre>

View File

@ -28,8 +28,8 @@
</p> </p>
<ul> <ul>
<li><a href="ftp://libvirt.org/libvirt/libvirt-git-snapshot.tar.gz">libvirt.org FTP server</a></li> <li><a href="ftp://libvirt.org/libvirt/libvirt-git-snapshot.tar.xz">libvirt.org FTP server</a></li>
<li><a href="http://libvirt.org/sources/libvirt-git-snapshot.tar.gz">libvirt.org HTTP server</a></li> <li><a href="http://libvirt.org/sources/libvirt-git-snapshot.tar.xz">libvirt.org HTTP server</a></li>
</ul> </ul>
<h2><a name="schedule">Primary release schedule</a></h2> <h2><a name="schedule">Primary release schedule</a></h2>

View File

@ -225,7 +225,7 @@ URL: http://libvirt.org/
%if %(echo %{version} | grep -o \\. | wc -l) == 3 %if %(echo %{version} | grep -o \\. | wc -l) == 3
%define mainturl stable_updates/ %define mainturl stable_updates/
%endif %endif
Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.xz
Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon = %{version}-%{release}
Requires: libvirt-daemon-config-network = %{version}-%{release} Requires: libvirt-daemon-config-network = %{version}-%{release}

View File

@ -30,7 +30,7 @@ Summary: MinGW Windows libvirt virtualization library
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
URL: http://libvirt.org/ URL: http://libvirt.org/
Source0: ftp://libvirt.org/libvirt/libvirt-%{version}.tar.gz Source0: ftp://libvirt.org/libvirt/libvirt-%{version}.tar.xz
BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-filesystem >= 95