Lintian Fixes - python-datetimerange
Ready changes
Summary
- Trim trailing whitespace. ( trailing-whitespace )
- Use secure copyright file specification URI. ( insecure-copyright-format-uri )
- Bump debhelper from old 11 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-bug-tracking )
- Update standards version to 4.6.2, no changes needed. ( out-of-date-standards-version )
- Set upstream metadata fields: Repository. ( upstream-metadata-missing-repository )
Diff
diff --git a/debian/control b/debian/control
index 879bd68..8c7ba77 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Uploaders:
Thomas Goirand <zigo@debian.org>,
Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
dh-python,
openstack-pkg-tools,
python3-all,
@@ -15,7 +15,7 @@ Build-Depends-Indep:
python3-pytest,
python3-typepy,
python3-tz,
-Standards-Version: 4.6.0
+Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/openstack-team/third-party/python-datetimerange
Vcs-Git: https://salsa.debian.org/openstack-team/third-party/python-datetimerange.git
Homepage: https://github.com/thombashi/DateTimeRange
diff --git a/debian/copyright b/debian/copyright
index 2178f35..23f14b0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: datetimerange
Source: https://github.com/thombashi/DateTimeRange
diff --git a/debian/rules b/debian/rules
index 3dc199c..8e24d3f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/thombashi/DateTimeRange
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python3
+ dh $@ --buildsystem=pybuild --with python3
override_dh_auto_clean:
rm -rf build .stestr
@@ -27,6 +27,3 @@ endif
override_dh_auto_test:
echo "Do nothing..."
-
-
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..9c4e65a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/thombashi/DateTimeRange/issues
+Bug-Submit: https://github.com/thombashi/DateTimeRange/issues/new
+Repository: https://github.com/thombashi/DateTimeRange.git
+Repository-Browse: https://github.com/thombashi/DateTimeRange
Debdiff
File lists identical (after any substitutions)
No differences were encountered in the control files