[pkg-nvidia-devel] r863 - in /packages/nvidia-graphics-drivers/trunk/debian: README.source rules
rra at users.alioth.debian.org
rra at users.alioth.debian.org
Sat May 8 04:14:55 UTC 2010
Author: rra
Date: Sat May 8 04:14:53 2010
New Revision: 863
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=863
Log:
get-orig-source improvements
Name the directory ending in .orig, which is the convention whenever
the upstream tarball is generated by the Debian maintainers (as opposed
to upstream), per devref.
Create the new *.orig.tar.gz file in the current directory, not the
parent directory, per Policy.
Modified:
packages/nvidia-graphics-drivers/trunk/debian/README.source
packages/nvidia-graphics-drivers/trunk/debian/rules
Modified: packages/nvidia-graphics-drivers/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/README.source?rev=863&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/README.source (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/README.source Sat May 8 04:14:53 2010
@@ -23,7 +23,7 @@
Alternatively do it manually:
- Download the pkg0.run file for i386 and the pkg2.run file for
amd64 from upstream.
- - mkdir nvidia-graphics-drivers-<version> and place package files
+ - mkdir nvidia-graphics-drivers-<version>.orig and place package files
in that directory. Make them executable. Then, create the orig
tarball with:
tar czvf nvidia-graphics-drivers_<version>.orig.tar.gz
Modified: packages/nvidia-graphics-drivers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/rules?rev=863&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Sat May 8 04:14:53 2010
@@ -148,11 +148,12 @@
uscan --no-symlink --download-current-version --pasv \
--destdir get-orig-source
@set -e -x ; \
- cd get-orig-source ; \
- newversion=$$(ls *-x86-*.run | sed -e 's/.*-\([0-9.]*\)-.*/\1/') ; \
- mkdir nvidia-graphics-drivers-$$newversion ; \
- mv *.run nvidia-graphics-drivers-$$newversion/ ; \
- chmod 0755 nvidia-graphics-drivers-$$newversion/* ; \
- tar cfvz ../../nvidia-graphics-drivers_$$newversion.orig.tar.gz --owner=root --group=src nvidia-graphics-drivers-$$newversion
- rm -rf get-orig-source || true
-
+ cd get-orig-source ; \
+ newversion=$$(ls *-x86-*.run | sed -e 's/.*-\([0-9.]*\)-.*/\1/') ; \
+ mkdir nvidia-graphics-drivers-$${newversion}.orig ; \
+ mv *.run nvidia-graphics-drivers-$${newversion}.orig/ ; \
+ chmod 0755 nvidia-graphics-drivers-$${newversion}.orig/* ; \
+ tar cfvz ../nvidia-graphics-drivers_$$newversion.orig.tar.gz \
+ --owner=root --group=src \
+ nvidia-graphics-drivers-$${newversion}.orig
+ rm -rf get-orig-source
More information about the Pkg-nvidia-devel
mailing list