Use Files-Excluded in copyright file to repack the upstream tarball.
Bas Couwenberg
9 years ago
3 | 3 |
* Add upstream metadata.
|
4 | 4 |
* Add gbp.conf to use pristine-tar by default.
|
5 | 5 |
* Refresh patches.
|
|
6 |
* Use Files-Excluded in copyright file to repack the upstream tarball.
|
6 | 7 |
|
7 | 8 |
-- Bas Couwenberg <sebastic@xs4all.nl> Sat, 29 Nov 2014 00:13:59 +0100
|
8 | 9 |
|
2 | 2 |
Upstream-Contact: Alessandro Furieri <a.furieri@lqt.it>
|
3 | 3 |
Source: https://www.gaia-gis.it/fossil/readosm/
|
4 | 4 |
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
|
5 |
Comment: The tests are removed because they contain OSM data which is licensed
|
|
6 |
under the Creative Commons Attribution Share-Alike license 2.0,
|
|
7 |
which isn't considered suitable for Debian main.
|
|
8 |
Files-Excluded: tests/*
|
5 | 9 |
|
6 | 10 |
Files: *
|
7 | 11 |
Copyright: © 2012, Alessandro Furieri <a.furieri@lqt.it>
|
2 | 2 |
|
3 | 3 |
# Uncomment this to turn on verbose mode.
|
4 | 4 |
#export DH_VERBOSE=1
|
5 | |
|
6 | |
ifndef UPVER
|
7 | |
UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1 | cut -d+ -f1)
|
8 | |
endif
|
9 | |
CURVER := ${UPVER}+dfsg1
|
10 | 5 |
|
11 | 6 |
%:
|
12 | 7 |
dh $@ \
|
|
24 | 19 |
rm -rf html/ latex/
|
25 | 20 |
|
26 | 21 |
get-orig-source:
|
27 | |
uscan \
|
28 | |
--verbose \
|
29 | |
--force-download \
|
30 | |
--download-version ${UPVER} \
|
31 | |
--rename \
|
32 | |
--destdir .
|
33 | |
tar xvf readosm_${UPVER}.orig.tar.gz
|
34 | |
rm -rf readosm-*/tests/
|
35 | |
tar cf readosm_${CURVER}.orig.tar readosm-*/
|
36 | |
bzip2 readosm_${CURVER}.orig.tar
|
37 | |
rm -rf readosm_${UPVER}.orig.tar.gz readosm-*/
|
|
22 |
uscan --verbose --force-download --rename --repack --compression xz
|
|
23 |
|