[SCM] libgd-perl Debian packaging branch, master, updated. debian/1%2.46-3.1-160-gfbaad52
Jonas Smedegaard
dr at jones.dk
Mon Jun 24 20:20:59 UTC 2013
The following commit has been merged in the master branch:
commit c2381f2b34996630dad89d62f3f290d065473b6e
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Jun 24 21:43:01 2013 +0200
Provide/replace/break (not conflict against) and replace both libgd-gd2-perl and libgd-gd2-noxpm-perl. Declare in rules file.
diff --git a/debian/control.in b/debian/control.in
index 4905a2e..a509370 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -15,10 +15,9 @@ Homepage: http://search.cpan.org/dist/GD/
Package: libgd-perl
Architecture: any
Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}
-Provides: libgd-gd2-perl
-Replaces: libgd-gd2-perl
-Conflicts: libgd-gd2-noxpm-perl,
- libgd-gd2-perl
+Provides: ${cdbs:Provides}
+Replaces: ${cdbs:Replaces}
+Conflicts: ${cdbs:Conflicts}
Description: Perl module wrapper for libgd - gd2 variant
This is a autoloadable interface module for libgd, a popular library
for creating and manipulating PNG files. With this library you can
diff --git a/debian/rules b/debian/rules
index 7afa271..caa6396 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,13 @@ CDBS_BUILD_DEPENDS +=, libgd2-dev | libgd2-xpm-dev, libjpeg-dev
CDBS_BUILD_DEPENDS +=, libpng12-dev, libz-dev, libfreetype6-dev
CDBS_BUILD_DEPENDS +=, libxpm-dev, libx11-dev
+# Transitional quirk: libgd-gd2-perl and libgd-gd2-noxpm-perl merged
+# TODO: drop after Jessie+1 (was introduced before Jessie)
+CDBS_PROVIDES_$(pkg) = libgd-gd2-perl, libgd-gd2-noxpm-perl
+oldpkgs-versioned = libgd-gd2-perl (<= 1:2.46-3.1), libgd-gd2-noxpm-perl (<= 1:2.46-2.1)
+CDBS_BREAKS_$(pkg) = $(oldpkgs-versioned)
+CDBS_REPLACES_$(pkg) = $(oldpkgs-versioned)
+
# Suppress some graphics (in addition to default stuff)
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(demos/font_list\.png|t/test.out.*|debian/(changelog|copyright(|_hints|_newhints)))$
--
libgd-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list