[Pkg-cli-libs-commits] [SCM] gkeyfile-sharp branch, master, updated. upstream/0.1.git.1.db21571-15-g439212d
Iain Lane
laney at ubuntu.com
Thu Sep 2 22:45:30 UTC 2010
The following commit has been merged in the master branch:
commit 9d4487fda925b7e6a688bceae09e0178080c6250
Author: Iain Lane <laney at ubuntu.com>
Date: Thu Sep 2 23:11:05 2010 +0100
Remove get-orig-source which is no longer needed
diff --git a/debian/rules b/debian/rules
index 327c765..42853da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,25 +3,13 @@
include /usr/share/cli-common/cli.make
-GIT_URL := git://gitorious.org/gkeyfile-sharp/gkeyfile-sharp.git
-GIT_BRANCH := "master"
-GIT_BRANCH_NAME := gkeyfile-sharp-1.0
-
-DEB_SOURCE := $(shell dpkg-parsechangelog -l$(dir $(_))/changelog | grep '^Source:' | cut -d" " -f2)
DEB_VERSION := $(shell dpkg-parsechangelog -l$(dir $(_))/changelog | grep '^Version:' | cut -d" " -f2)
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//')
-DEB_MAJOR_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/git.*//')
-
-DEB_GIT_ID := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/.*git\.[[:digit:]]\.\([[:xdigit:]]*\)/\1/')
DEB_API_VERSION = 1.0
DEB_ABI_VERSION = 1.0
CLIDIR = debian/tmp/usr/lib/cli/gkeyfile-sharp-$(DEB_ABI_VERSION)/
-ifdef GIT_REFURL
-GIT_REFERENCE = --reference="$(GIT_REFURL)"
-endif
-
override_dh_auto_configure:
dh_auto_configure -- CSC=/usr/bin/mono-csc
@@ -53,21 +41,3 @@ override_dh_makeclilibs:
%:
dh --with=autoreconf $@
-# Stolen from connman package, thanks asac!
-
-GET_SOURCE = \
- set -e; \
- tmpdir=`mktemp -d -t`; \
- cd $$tmpdir; \
- echo "cloning upstream repository ..."; \
- git clone $(GIT_REFERENCE) $(GIT_URL) $(GIT_BRANCH_NAME); \
- echo "getting specific upstream revision/tag: $(1)"; \
- cd `ls | head -n 1`; git checkout -b orig $(1); \
- echo -n "creating orig tarball ..."; \
- cd ..; tar --exclude=.git -czf $(CURDIR)/$(DEB_SOURCE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz `ls | head -n 1`; \
- cd $(CURDIR); rm -rf $$tmpdir; \
- echo " done";
-
-get-orig-source:
- $(call GET_SOURCE, $(DEB_GIT_ID), "orig")
-
--
gkeyfile-sharp
More information about the Pkg-cli-libs-commits
mailing list