[Pkg-fglrx-devel] r333 - fglrx-driver/trunk/debian

Patrick Matthäi pmatthaei at alioth.debian.org
Fri Nov 13 12:34:43 UTC 2009


Author: pmatthaei
Date: 2009-11-13 12:34:43 +0000 (Fri, 13 Nov 2009)
New Revision: 333

Modified:
   fglrx-driver/trunk/debian/changelog
   fglrx-driver/trunk/debian/rules
Log:
* Generate now tar.bz2 compressed tarballs.

Note:
This saves 5 megabyte :>


Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog	2009-11-13 12:26:44 UTC (rev 332)
+++ fglrx-driver/trunk/debian/changelog	2009-11-13 12:34:43 UTC (rev 333)
@@ -3,8 +3,9 @@
   * Add new XvBA libraries.
     Closes: #554470
   * Convert package to quilt and the 3.0 (quilt) format.
+  * Generate now tar.bz2 compressed tarballs.
 
- -- Patrick Matthäi <pmatthaei at debian.org>  Fri, 13 Nov 2009 13:26:14 +0100
+ -- Patrick Matthäi <pmatthaei at debian.org>  Fri, 13 Nov 2009 13:33:57 +0100
 
 fglrx-driver (1:9-10-2) unstable; urgency=low
 

Modified: fglrx-driver/trunk/debian/rules
===================================================================
--- fglrx-driver/trunk/debian/rules	2009-11-13 12:26:44 UTC (rev 332)
+++ fglrx-driver/trunk/debian/rules	2009-11-13 12:34:43 UTC (rev 333)
@@ -199,9 +199,9 @@
 	[ -f $(CACHEDIR)/$(INSTALLER) ] || wget $(URL_PATH)/$(INSTALLER) -c -O $(CACHEDIR)/$(INSTALLER)
 	cp $(CACHEDIR)/$(INSTALLER) .
 
-get-orig-source: ../$(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.gz
+get-orig-source: ../$(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.bz2
 
-../$(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.gz: get-orig-source-checks $(INSTALLER)
+../$(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.bz2: get-orig-source-checks $(INSTALLER)
 	(mkdir $(PKG_driver)-$(NEW_UPSTREAM_VERSION) \
 	 && cd $(PKG_driver)-$(NEW_UPSTREAM_VERSION) \
 	 && /bin/sh ../$(INSTALLER) --extract . \
@@ -210,9 +210,9 @@
 	 && rm -rf x6* \
 	 && rm -f arch/*/lib/modules/fglrx/fglrx.*.o)
 	# Create the tarball.
-	(tar c $(PKG_driver)-$(NEW_UPSTREAM_VERSION) \
-	 | gzip --best --rsyncable > $(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.gz \
-	 && mv $(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.gz ../)
+	(tar -cjf $(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.bz2 \
+	 $(PKG_driver)-$(NEW_UPSTREAM_VERSION) && mv \
+	 $(PKG_driver)_$(NEW_UPSTREAM_VERSION).orig.tar.bz2 ../)
 	# Cleanup.
 	rm -fr $(PKG_driver)-$(NEW_UPSTREAM_VERSION) && \
 	rm $(INSTALLER)




More information about the Pkg-fglrx-devel mailing list