提交 2c51fa6e 编写于 作者: A Andrea Bolognani

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.
上级 475835e3
...@@ -88,7 +88,7 @@ ...@@ -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
......
...@@ -63,7 +63,7 @@ $(top_srcdir)/HACKING: $(top_srcdir)/docs/hacking1.xsl \ ...@@ -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
......
...@@ -56,7 +56,7 @@ exec 3>&- ...@@ -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
......
...@@ -24,7 +24,7 @@ AH_BOTTOM([#include <config-post.h>]) ...@@ -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
......
...@@ -13,7 +13,7 @@ ...@@ -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>
......
...@@ -28,8 +28,8 @@ ...@@ -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>
......
...@@ -225,7 +225,7 @@ URL: http://libvirt.org/ ...@@ -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}
......
...@@ -30,7 +30,7 @@ Summary: MinGW Windows libvirt virtualization library ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册