Lintian Fixes - python-xstatic
Ready changes
Summary
- Update watch file format version to 4. ( older-debian-watch-file-standard )
- Bump debhelper from old 10 to 13. ( package-uses-old-debhelper-compat-version )
- Make "Files: *" paragraph the first in the copyright file. ( global-files-wildcard-not-first-paragraph-in-dep5-copyright )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index ddc3e5e..9f35daf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-xstatic (1.0.0-9) UNRELEASED; urgency=medium
+
+ * Update watch file format version to 4.
+ * Bump debhelper from old 10 to 13.
+ + Replace python_distutils buildsystem with pybuild.
+ * Make "Files: *" paragraph the first in the copyright file.
+
+ -- Debian Janitor <janitor@jelmer.uk> Thu, 17 Aug 2023 16:36:25 -0000
+
python-xstatic (1.0.0-8) unstable; urgency=medium
* Cleans better (Closes: #1046280).
diff --git a/debian/control b/debian/control
index 45968eb..5dd01be 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 (= 10),
+ debhelper-compat (= 13),
dh-python,
openstack-pkg-tools (>= 99~),
python3-all,
diff --git a/debian/copyright b/debian/copyright
index 3197478..e2c3c60 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,15 +2,15 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: XStatic
Source: https://bitbucket.org/thomaswaldmann/xstatic
-Files: debian/*
-Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
-License: Expat
-
Files: *
Copyright: (c) 2011-2014, Thomas Waldmann <tw@waldmann-edv.de>
(c) 2014, Radomir Dopieralski <openstack@sheep.art.pl>
License: Expat
+Files: debian/*
+Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
+License: Expat
+
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/debian/rules b/debian/rules
index 7372a0b..f93c7d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT = https://bitbucket.org/thomaswaldmann/xstatic
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python3,sphinxdoc
+ dh $@ --buildsystem=pybuild --with python3,sphinxdoc
override_dh_auto_clean:
rm -rf build .stestr
@@ -25,9 +25,9 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
endif
override_dh_clean:
- dh_clean -O--buildsystem=python_distutils
+ dh_clean -O--buildsystem=pybuild
rm -rf build
override_dh_sphinxdoc:
python3 -m sphinx -b html docs/source debian/python-xstatic-doc/usr/share/doc/python-xstatic-doc/html
- dh_sphinxdoc -O--buildsystem=python_distutils
+ dh_sphinxdoc -O--buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
index 0fa5fb8..c712c7b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=3
+version=4
http://pypi.python.org/packages/source/X/XStatic XStatic-(.*).tar.gz
-
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package python-xstatic-doc
No differences were encountered between the control files of package python3-xstatic