Processed: Re: Bug#840852: please make libcpupower-dev depend on libcpupower1 (= ${binary:Version})

2016-10-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 840852 + patch
Bug #840852 [libcpupower-dev] please make libcpupower-dev depend on 
libcpupower1 (= ${binary:Version})
Added tag(s) patch.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
840852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840852
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#840852: please make libcpupower-dev depend on libcpupower1 (= ${binary:Version})

2016-10-17 Thread Mattia Dongili
tags 840852 + patch
thanks

Ben,

On Sat, Oct 15, 2016 at 06:13:55PM +0300, Vlad Orlov wrote:
...
> Please make libcpupower-dev depend on libcpupower1 (= ${binary:Version}),
> like it's usually done with all the other -dev packages.

I realize the patch is trivial, but anyway here's one that is build
tested and working.

Regards
-- 
mattia
:wq!
commit 8cee65c3229f5f692ad97df9bca117ef194c9ac7
Author: Mattia Dongili 
Date:   Sun Oct 16 18:08:41 2016 -0700

libcpufreq-dev depends on its corresponding binary package

Closes: #840852
Signed-off-by: Mattia Dongili 

diff --git a/debian/changelog b/debian/changelog
index 995c950..eef97ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,10 @@ linux (4.8.1-1~exp1) UNRELEASED; urgency=medium
   * [arm64] Enable SERIAL_8250_EXTENDED, SERIAL_8250_SHARE_IRQ and
 SERIAL_8250_BCM2835AUX, needed for Raspberry Pi 3.
 
+  [ Mattia Dongili ]
+  * make libcpufreq-dev depend on its corresponding binary package
+(Closes: #840852)
+
  -- Ben Hutchings   Sat, 01 Oct 2016 21:51:33 +0100
 
 linux (4.8~rc8-1~exp1) experimental; urgency=medium
diff --git a/debian/templates/control.tools.in b/debian/templates/control.tools.in
index 7c95172..e9318e3 100644
--- a/debian/templates/control.tools.in
+++ b/debian/templates/control.tools.in
@@ -31,7 +31,7 @@ Package: libcpupower-dev
 Build-Profiles: 
 Section: libdevel
 Architecture: linux-any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: libcpupower1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Provides: libcpufreq-dev
 Conflicts: libcpufreq-dev
 Replaces: libcpufreq-dev