aboutsummaryrefslogtreecommitdiffstats
path: root/debian/control
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2018-04-11 02:58:33 -0300
committerdequis <dx@dxzone.com.ar>2018-04-11 03:16:02 -0300
commitf8d2cffce09b9990689a1f33b3abcc153482f42b (patch)
tree28691251512c139c2a4567e6b9ace1aeca3def47 /debian/control
parent8d7b0a4e9e47c2d392f6fc8f8749d4c5fe6e2604 (diff)
debian: turn -common and -dev into arch:any to safely use --link-doc
This started with trying to remove something that says "remove the hack below once Hardy and Lenny are deprecated". Hardy and Lenny have been deprecated for years, this should be easy, right? Turns out that the symlink stuff we were doing can result in broken packages with binNMU, see debbug#767839. This is also documented in the dh_installdocs man page: > CAVEAT 2: The use of --link-doc should only be done when the packages > have same "architecture" type. A link from a architecture independent > package to a architecture dependent package (or vice versa) will not > work. Since compat 10, debhelper will actively reject unsupported > combinations. And we were doing essentially the same wrong thing but manually. The easiest way to solve this is to stop mixing arch:any and arch:all, and to make everything arch:any. Let's hope this is as easy as it looks. Thanks to bunk, nthykier and olly from #debian-devel for help with this.
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/control b/debian/control
index 9f7db6db..5a4b39ca 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: https://github.com/bitlbee/bitlbee
Package: bitlbee
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, debianutils (>= 1.16), bitlbee-common (= ${source:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, debianutils (>= 1.16), bitlbee-common (= ${binary:Version})
Conflicts: bitlbee-libpurple
Replaces: bitlbee-libpurple
Description: IRC to other chat networks gateway (default version)
@@ -21,7 +21,7 @@ Description: IRC to other chat networks gateway (default version)
Package: bitlbee-libpurple
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, debianutils (>= 1.16), bitlbee-common (= ${source:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, debianutils (>= 1.16), bitlbee-common (= ${binary:Version})
Conflicts: bitlbee
Replaces: bitlbee
Description: IRC to other chat networks gateway (using libpurple)
@@ -37,7 +37,7 @@ Description: IRC to other chat networks gateway (using libpurple)
If you don't need the extra features, it's better to use the built-in code.
Package: bitlbee-common
-Architecture: all
+Architecture: any
Depends: ${misc:Depends}, adduser
Replaces: bitlbee
Description: IRC to other chat networks gateway (common files/docs)
@@ -49,8 +49,8 @@ Description: IRC to other chat networks gateway (common files/docs)
bitlbee-libpurple.
Package: bitlbee-dev
-Architecture: all
-Depends: ${misc:Depends}, bitlbee (>= ${source:Version}) | bitlbee-libpurple (>= ${source:Version}), bitlbee (<< ${source:Version}.1~) | bitlbee-libpurple (<< ${source:Version}.1~), bitlbee-common (= ${source:Version})
+Architecture: any
+Depends: ${misc:Depends}, bitlbee (= ${binary:Version}) | bitlbee-libpurple (= ${binary:Version}), bitlbee-common (= ${binary:Version})
Description: IRC to other chat networks gateway (dev files)
This program can be used as an IRC server which forwards everything you
say to people on other chat networks: Jabber (which includes Google
@@ -60,7 +60,7 @@ Description: IRC to other chat networks gateway (dev files)
Package: bitlbee-plugin-otr
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, bitlbee (= ${binary:Version}) | bitlbee-libpurple (= ${binary:Version}), bitlbee-common (= ${source:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, bitlbee (= ${binary:Version}) | bitlbee-libpurple (= ${binary:Version}), bitlbee-common (= ${binary:Version})
Description: IRC to other chat networks gateway (OTR plugin)
This program can be used as an IRC server which forwards everything you
say to people on other chat networks: Jabber (which includes Google