summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2012-08-20 18:18:30 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2012-08-20 18:21:56 +0200
commit72deb90ec0aca34501f0476c013e2cee7ccd1f2a (patch)
tree6ed5dd98199568a6b50250267a75c639fa66b116
parent509d6d4b58f50b86ca482d49fb6b2fee7fc3dfe9 (diff)
Use filter-pristine-tar and change versioning scheme
-rw-r--r--debian/README.source10
-rw-r--r--debian/gbp.conf16
-rw-r--r--debian/watch4
3 files changed, 23 insertions, 7 deletions
diff --git a/debian/README.source b/debian/README.source
index ab1f26cd..37984e0b 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -16,10 +16,10 @@ Only coqdoc-generated documentation of the standard library is shipped
in main. The full documentation is shipped in non-free (as coq-doc
package).
-The script debian/purify_tarball removes non-DFSG content from an
-upstream tarball. It should be run first when packaging a new upstream
-version. The suffix "+dfsg" is used to being appended to upstream
-version (the script will do it for you).
+The git-import-orig tool automatically filters out problematic files,
+thanks to the configuration in debian/gbp.conf. It is suggested to
+append the "dfsg" suffix to the upstream version to make repackaging
+explicit.
Patch system
@@ -53,4 +53,4 @@ to ../coq.cache, and debian/rules will detect its presence and rsync
from there instead of really compiling Coq...
- -- Stéphane Glondu <glondu@debian.org>, Mon, 31 May 2010 15:30:50 +0200
+ -- Stéphane Glondu <glondu@debian.org>, Mon, 20 Aug 2012 18:20:18 +0200
diff --git a/debian/gbp.conf b/debian/gbp.conf
index cec628c7..126a7b7a 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -1,2 +1,18 @@
[DEFAULT]
pristine-tar = True
+filter-pristine-tar = True
+filter = [
+ "doc/common/styles/html/coqremote/cover.html",
+ "doc/common/styles/html/coqremote/hevea.css",
+ "doc/common/styles/html/coqremote/styles.hva",
+ "doc/common/styles/html/simple/cover.html",
+ "doc/common/styles/html/simple/hevea.css",
+ "doc/common/styles/html/simple/styles.hva",
+ "doc/common/macros.tex",
+ "doc/common/title.tex",
+ "doc/RecTutorial",
+ "doc/faq",
+ "doc/refman",
+ "doc/rt",
+ "doc/tools",
+ "doc/tutorial" ]
diff --git a/debian/watch b/debian/watch
index 37d70519..07bcf5fe 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
version=3
-opts=uversionmangle=s/pl/.pl/,dversionmangle=s/\+dfsg\d*$// \
- http://coq.inria.fr/download distrib/[^/]+/files/coq-(.*)\.tar\.gz
+opts=dversionmangle=s/dfsg$// \
+ http://coq.inria.fr/download .*/coq-(.*)\.tar\.gz