control: tags -1 + patch

On Thu, 09 Jun 2016 20:51:16 +0200 Andreas Beckmann <a...@debian.org> wrote:
> during a test with piuparts I noticed your package failed to install
> because it tries to overwrite other packages files without declaring a
> Breaks+Replaces relation.
> 
> See policy 7.6 at
> https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

This is due to a conditional Conflicts that references an Ubuntu
version.

I've opened a PR to fix this against the package's repository[1], and
attached the patch for convenience. 

[1]: https://github.com/vorlonofportland/snappy/pull/2

  --  Luke Faraone
From b2b9b7d59ea6a52d0db04f7828d30ddf8949acef Mon Sep 17 00:00:00 2001
From: Luke Faraone <l...@faraone.cc>
Date: Wed, 20 Jul 2016 14:56:25 +0200
Subject: [PATCH] Switch to unconditional conflict against `snap`

`snapd` had a conditional conflicts against `snap` that references an Ubuntu version, `2013-11-29-1ubuntu1`.

The package has since moved forward in Debian from that version. Until that Ubuntu-specific patch is merged into Debian's `snap` package, we instead just unconditionally conflict with `snap`.

Closes #826884.
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 6322b19..3651cb1 100644
--- a/debian/control
+++ b/debian/control
@@ -50,7 +50,7 @@ Package: snapd
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}, adduser,
  squashfs-tools, ubuntu-core-launcher (>= 1.0.23),
-Conflicts: snappy, snap (<< 2013-11-29-1ubuntu1)
+Conflicts: snappy, snap
 Built-Using: ${misc:Built-Using}
 Description: Tool to interact with Ubuntu Core Snappy.
  Manage an Ubuntu system with snappy.
@@ -60,7 +60,7 @@ Architecture: any
 Depends: snapd, ${misc:Depends}
 Replaces: ubuntu-snappy (<< 1.9)
 Breaks: ubuntu-snappy (<< 1.9)
-Conflicts: snap (<< 2013-11-29-1ubuntu1)
+Conflicts: snap
 Built-Using: ${misc:Built-Using}
 Description: Scripts for snapd that should only run on ubuntu core systems.
  This package contains systemd services that need to run on ubuntu core

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to