From e3baeefc813ed1e72efebf7ea04b003fd4abdb85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 8 Mar 2016 09:46:45 +0100 Subject: [PATCH] Packaging: Debian: Package 1.2.0-1 --- packaging/debian/README | 41 +++++++++++++++++++++++++++++++ packaging/debian/debian/changelog | 9 +++++++ packaging/debian/debian/control | 7 +++--- packaging/debian/debian/copyright | 3 +++ packaging/links | 1 + 5 files changed, 57 insertions(+), 4 deletions(-) create mode 100644 packaging/debian/README diff --git a/packaging/debian/README b/packaging/debian/README new file mode 100644 index 0000000..0559ebc --- /dev/null +++ b/packaging/debian/README @@ -0,0 +1,41 @@ +Release new version for Debian +============================== + +VERSION=1.2.0 + +# Build source archive +python3 setup.py sdist +mv dist/yamllint-$VERSION.tar.gz yamllint_$VERSION.orig.tar.gz + +tar -xvf yamllint_$VERSION.orig.tar.gz +cp -r ../packaging/ubuntu/debian yamllint-$VERSION/ +cd yamllint-$VERSION/debian + +# Add a new changelog entry: +dch -v $VERSION-1 + +# Build packages and sign dsc +debuild -S -sa + +# Test if it builds +sudo pbuilder --create +sudo pbuilder --build ../yamllint_$VERSION-1.dsc + +# Upload to mentors FTP (needed even for updates) +cat >>~/.dput.cf << EOF +[mentors] +fqdn = mentors.debian.net +incoming = /upload +method = http +allow_unsigned_uploads = 0 +progress_indicator = 2 +# Allow uploads for UNRELEASED packages +allowed_distributions = .* +EOF + +dput mentors ../yamllint_$VERSION-1_source.changes + +# Do no upload to Debian FTP: the sponsor will do it + +# File a new RFS bug by sending an email +See https://mentors.debian.net/sponsors/rfs-howto/yamllint diff --git a/packaging/debian/debian/changelog b/packaging/debian/debian/changelog index 0f09865..d55ee2f 100644 --- a/packaging/debian/debian/changelog +++ b/packaging/debian/debian/changelog @@ -1,3 +1,12 @@ +yamllint (1.2.0-1) unstable; urgency=medium + + * Update to new upstream version + * Build and include man page in package + * Fix Vcs-* fields in debian/control + * Fix description-synopsis-starts-with-article lintian warning + + -- Adrien Vergé Tue, 08 Mar 2016 08:20:23 +0100 + yamllint (1.1.0-1) unstable; urgency=medium * Update to new upstream version diff --git a/packaging/debian/debian/control b/packaging/debian/debian/control index e10d7f8..2b4a054 100644 --- a/packaging/debian/debian/control +++ b/packaging/debian/debian/control @@ -11,17 +11,16 @@ Build-Depends: python3-yaml, Standards-Version: 3.9.7 Homepage: https://github.com/adrienverge/yamllint -Vcs-Git: git://anonscm.debian.org/collab-maint/yamllint.git -Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/yamllint.git +Vcs-Git: https://github.com/adrienverge/yamllint.git -b packaging +Vcs-Browser: https://github.com/adrienverge/yamllint/tree/packaging Package: yamllint Architecture: any Depends: - python3-yaml, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, -Description: A linter for YAML files +Description: Linter for YAML files yamllint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc. diff --git a/packaging/debian/debian/copyright b/packaging/debian/debian/copyright index 1604551..a26d91d 100644 --- a/packaging/debian/debian/copyright +++ b/packaging/debian/debian/copyright @@ -17,3 +17,6 @@ License: GPL-3+ . You should have received a copy of the GNU General Public License along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/packaging/links b/packaging/links index 93d7791..cd88811 100644 --- a/packaging/links +++ b/packaging/links @@ -8,6 +8,7 @@ Packaging in Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816609 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816611 +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817245 Packaging in Ubuntu -------------------