summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-01-22 21:40:03 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-01-22 21:40:03 +0100
commitda1b0ccbc4b137aa25226a254bc2ed142047ac0c (patch)
treed7a538b2527f7fecfef782d9b4ff5ab22bc895f2
parent11c9533efea5d291aabc6dd6dda8faa1d1aab3f0 (diff)
downloadrt-tests-da1b0ccbc4b137aa25226a254bc2ed142047ac0c.tar.gz
rt-tests-da1b0ccbc4b137aa25226a254bc2ed142047ac0c.tar.xz
[debian] use --extend-diff-ignore to ignore differences between git and upstream tar
This makes README.source and the custom build script obsolete \o/
-rw-r--r--debian/README.source13
-rwxr-xr-xdebian/build12
-rw-r--r--debian/source/options1
3 files changed, 1 insertions, 25 deletions
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 3234a71..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,13 +0,0 @@
-Problems when building rt-tests from the git repository
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Compared to the upstream's .tar.gz the upstream's git repo doesn't contain the
-ChangeLog file but has a file rt-tests.spec-in. So if the .diff.gz is
-generated from the git repository, it adds the rt-tests.spec-in file.
-(dpkg-source only warns about Changlog, but doesn't add a hunk for it.) I
-don't know a nice way to prevent this, apart from accepting it or edit the
-diff by hand.
-
-So I always build using the orig.tar.gz. See debian/build for a helper script.
-
- -- Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Thu, 18 Feb 2010 21:38:51 +0100
diff --git a/debian/build b/debian/build
deleted file mode 100755
index 6445448..0000000
--- a/debian/build
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/sh
-
-set -e
-
-version="$(dpkg-parsechangelog | sed -n 's/^Version: //; T; s/-.*//p')"
-
-test ! -d "../rt-tests-$version" || rm -rf "../rt-tests-$version"
-
-tar xJC ".." -f "../rt-tests_$version.orig.tar.xz"
-cp -a "debian" "../rt-tests-$version/debian"
-cd "../rt-tests-$version"
-debuild "$@"
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..a81a4bc
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = (^|/)(rt-tests.spec-in|scripts/do-git-push)$