[SCM] Debian native package for Config::Model::Dpkg branch, master, updated. debian/2.031-10-ge09fb7a

Salvatore Bonaccorso carnil at debian.org
Thu Dec 27 22:44:28 UTC 2012


The following commit has been merged in the master branch:
commit 249c4e8e30ef4f8baa672eeb25982be1a3bcc199
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Dec 27 23:37:11 2012 +0100

    Expand testsuite to check for binary package using Built-Using field

diff --git a/t/model_tests.d/debian-dependency-cache.txt b/t/model_tests.d/debian-dependency-cache.txt
index 5a3122f..8edf2b2 100644
--- a/t/model_tests.d/debian-dependency-cache.txt
+++ b/t/model_tests.d/debian-dependency-cache.txt
@@ -3,6 +3,7 @@ dh-autoreconf => squeeze 2 wheezy 7 sid 7
 dpkg => squeeze 1.15.8.12 wheezy 1.16.8 sid 1.16.8
 dpkg-dev => squeeze 1.15.8.13 squeeze-backports 1.16.1.2~bpo60+1 wheezy 1.16.9 sid 1.16.9
 frozen-bubble => etch 2.1.0-1 lenny 2.1.0-2 lenny 2.1.0-2+b1 squeeze 2.2.0-2 wheezy 2.2.0-2 sid 2.2.0-2 wheezy 2.2.0-2+b1 sid 2.2.0-2+b1
+gcc-4.6 => wheezy 4.6.3-11 sid 4.6.3-14
 gdm => etch 2.16.4-1 lenny 2.20.7-4lenny1 squeeze 2.20.11-4 wheezy 2.20.11-4
 hal => lenny 0.5.11-8 squeeze 0.5.14-3 wheezy 0.5.14-5 sid 0.5.14-5
 libalien-wxwidgets-perl => lenny 0.37-1 squeeze 0.50+dfsg-1 wheezy 0.54+dfsg-1 sid 0.54+dfsg-1
diff --git a/t/model_tests.d/debian-dpkg-control-examples/dbg-dep b/t/model_tests.d/debian-dpkg-control-examples/built-using
similarity index 72%
copy from t/model_tests.d/debian-dpkg-control-examples/dbg-dep
copy to t/model_tests.d/debian-dpkg-control-examples/built-using
index 88d8e3d..e4887fa 100644
--- a/t/model_tests.d/debian-dpkg-control-examples/dbg-dep
+++ b/t/model_tests.d/debian-dpkg-control-examples/built-using
@@ -19,22 +19,10 @@ Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Built-Using: gcc-4.6 (= ${gcc:Version})
 Description: Simple DirectMedia Layer
  SDL is a library that allows programs portable low level access to
  a video framebuffer, audio output, mouse, and keyboard.
  .
  This version of SDL is compiled with X11, caca and DirectFB graphics 
  drivers and OSS, ALSA, NAS and PulseAudio sound drivers.
-
-Package: libfoo-dbg
-Architecture: any
-Multi-Arch: same
-Priority: extra
-Section: debug
-Depends: ${misc:Depends},
-         libfoo (= ${binary:Version}),
-Description: Simple DirectMedia Layer debug files
- SDL is a library that allows programs portable low level access to a video
- framebuffer, audio output, mouse, and keyboard.
- .
- This package contains the debug symbols for the SDL library.
diff --git a/t/model_tests.d/debian-dpkg-control-test-conf.pl b/t/model_tests.d/debian-dpkg-control-test-conf.pl
index b7b8458..f3ce39e 100644
--- a/t/model_tests.d/debian-dpkg-control-test-conf.pl
+++ b/t/model_tests.d/debian-dpkg-control-test-conf.pl
@@ -138,6 +138,10 @@ providing the following file:
         # test for #692849, must not warn about missing libfoo dependency
         name => 'dbg-dep',
     },
+    {
+        # test for #696768, Built-Using field
+        name => 'built-using',
+    },
 );
 
 my $cache_file = 't/model_tests.d/debian-dependency-cache.txt';

-- 
Debian native package for Config::Model::Dpkg



More information about the Pkg-perl-cvs-commits mailing list