Source: osc
Version: 0.162.1
Severity: normal
Tags: patch

osc's Build-Depends are insufficient to run `debian/rules clean`
(Policy §7.7), because they don't include two packages that provide
debhelper sequences.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-debug'), (500, 'proposed-updates'), (500, 'experimental-debug'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), 
LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information
>From 82ca04bf72803f7aff08f7015e720eee7e887517 Mon Sep 17 00:00:00 2001
From: Simon McVittie <simon.mcvit...@collabora.co.uk>
Date: Tue, 15 May 2018 20:34:34 +0100
Subject: [PATCH] Move python and bash-completion from B-D-I to B-D

The python2 and bash-completion debhelper sequences are needed for the
clean target when building a source package, but that target is only
guaranteed to have the Build-Depends available.
---
 debian/changelog | 10 ++++++++++
 debian/control   | 12 ++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 63d283c..4bb9bd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+osc (0.162.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move python and bash-completion from Build-Depends-Indep to
+    Build-Depends. The python2 and bash-completion debhelper sequences are
+    needed for the clean target when building a source package, but that
+    target is only guaranteed to have the Build-Depends available.
+
+ -- Simon McVittie <s...@collabora.com>  Tue, 15 May 2018 20:04:29 +0100
+
 osc (0.162.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 1d5b1c8..6d373f6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,12 @@ Maintainer: RPM packaging team <pkg-rpm-de...@lists.alioth.debian.org>
 Uploaders: Michal Čihař <ni...@debian.org>
 Section: devel
 Priority: optional
-Build-Depends: debhelper (>= 9),
-               dh-exec
-Build-Depends-Indep: python,
-                     python-urlgrabber,
-                     dh-python,
-                     bash-completion
+Build-Depends: bash-completion,
+               debhelper (>= 9),
+               dh-exec,
+               python
+Build-Depends-Indep: python-urlgrabber,
+                     dh-python
 Standards-Version: 4.1.3
 Vcs-Browser: https://anonscm.debian.org/git/pkg-rpm/osc.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-rpm/osc.git
-- 
2.17.0

Reply via email to