]> xenbits.xensource.com Git - libvirt.git/commitdiff
maint: Switch to xz compressed PAX release archives
authorAndrea Bolognani <abologna@redhat.com>
Wed, 15 Jun 2016 11:19:32 +0000 (13:19 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 15 Jun 2016 16:53:34 +0000 (18:53 +0200)
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.

.gitignore
Makefile.am
autobuild.sh
configure.ac
docs/compiling.html.in
docs/downloads.html.in
libvirt.spec.in
mingw-libvirt.spec.in

index 7fd99638b50e3d7898c567338ca3fd6f26a904a9..39c0423103c2e22ecfd346d440517f05b9929a6b 100644 (file)
@@ -88,7 +88,7 @@
 /gnulib/tests/*
 /include/libvirt/libvirt-common.h
 /libtool
-/libvirt-*.tar.gz
+/libvirt-*.tar.xz
 /libvirt-[0-9]*
 /libvirt*.pc
 /libvirt.spec
index da07e6c0d2367bb87246b28d29b53f587839d519..4b4aad3ea9774ca7064c8898e579254918b81fb1 100644 (file)
@@ -63,7 +63,7 @@ $(top_srcdir)/HACKING: $(top_srcdir)/docs/hacking1.xsl \
           > $@-t && mv $@-t $@ ; fi;
 
 rpm: clean
-       @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
+       @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.xz)
 
 check-local: all tests
 
index 4d9f616d71bde05ddbddbbc50ee84b2d5c6c480c..2143479fd30a37c52cbd891715b6f0e60bef6ae2 100755 (executable)
@@ -56,7 +56,7 @@ exec 3>&-
 test "$st" = 0
 test -x /usr/bin/lcov && make cov
 
-rm -f *.tar.gz
+rm -f *.tar.xz
 make dist
 
 if test -n "$AUTOBUILD_COUNTER" ; then
index 011414935c4775d3f2c6734ec4531e79079aa4b6..7d16e5a852841e6e9f4b8a2e1dba79b2ede7d00f 100644 (file)
@@ -24,7 +24,7 @@ AH_BOTTOM([#include <config-post.h>])
 AC_CONFIG_MACRO_DIR([m4])
 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
-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 we don't really need the 'u' even in older toolchains.  Then there is
 dnl older libtool, which spelled it AR_FLAGS
index aff5487e9a0cc46004dfa0166247173532820f66..d2a3f1550c169fe6d917d01573109c1d9727c7c6 100644 (file)
@@ -13,7 +13,7 @@
     </p>
 
     <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
       $ ./configure</pre>
 
index f213b29b74e0bccb2d376f810d3526572cbdb5a3..1a3400af166853b1f9d6fc5889fd2b4b7883b7c0 100644 (file)
@@ -28,8 +28,8 @@
     </p>
 
     <ul>
-      <li><a href="ftp://libvirt.org/libvirt/libvirt-git-snapshot.tar.gz">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="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.xz">libvirt.org HTTP server</a></li>
     </ul>
 
     <h2><a name="schedule">Primary release schedule</a></h2>
index ee6162e7eea593198688c6ebd6fb6b165b35adbe..6b3e888d004882866b1b72cd40373a7f28ef83bf 100644 (file)
@@ -225,7 +225,7 @@ URL: http://libvirt.org/
 %if %(echo %{version} | grep -o \\. | wc -l) == 3
     %define mainturl stable_updates/
 %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-config-network = %{version}-%{release}
index 6f958320b41066365767eb6c6e5f32e6828c799c..e8088398c43e7c41b36eacb35ed9ac8d8ba934a5 100644 (file)
@@ -30,7 +30,7 @@ Summary:        MinGW Windows libvirt virtualization library
 License:        LGPLv2+
 Group:          Development/Libraries
 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:  mingw64-filesystem >= 95