[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 <malattia@linux.it>
Date:   Sun Oct 16 18:08:41 2016 -0700

    libcpufreq-dev depends on its corresponding binary package
    
    Closes: #840852
    Signed-off-by: Mattia Dongili <malattia@linux.it>

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 <ben@decadent.org.uk>  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: <!stage1 !pkg.linux.notools>
 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

Reply to: