[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, master, updated. debian/1.0.61-1-17-g0195df4
Guido Günther
agx at sigxcpu.org
Sat Feb 20 15:11:39 UTC 2010
The following commit has been merged in the master branch:
commit 0195df4ade48524381fc68b9a953f8a258dad183
Author: Guido Günther <agx at sigxcpu.org>
Date: Sat Feb 20 14:26:13 2010 +0100
Add vendor detection for Ubuntu
diff --git a/debian/rules b/debian/rules
index a27f5b4..8fd9de6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,9 +2,16 @@
DEB_PYTHON_SYSTEM=pysupport
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
+DEB_VENDOR=$(shell dpkg-vendor --query vendor)
-MIRROR=http://apt:9999/debian
-REPO=sid
+ifeq (Debian,$(DEB_VENDOR))
+ MIRROR=http://ftp.debian.org/debian
+ REPO=sid
+else
+ifeq(Ubuntu,$(DEB_VENDOR)
+ MIRROR=http://gb.archive.ubuntu.com/ubuntu/
+ REPO=karmic
+endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
--
Libguestfs Debian packaging
More information about the Pkg-libvirt-commits
mailing list