[SCM] libdata-uuid-perl Debian packaging branch, master, updated. debian/1.219-1-2-ga034027

Jonas Smedegaard dr at jones.dk
Sat Jul 20 21:11:29 UTC 2013


The following commit has been merged in the master branch:
commit 6702abaf945ea63f501e93e5b2de149332b9bb8e
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jul 20 22:51:53 2013 +0200

    Fix replace and break versions of libossp-uuid-perl providing Data::UUID shim.

diff --git a/debian/control.in b/debian/control.in
index 06f7096..61c2395 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -15,6 +15,8 @@ Depends: ${cdbs:Depends},
  ${misc:Depends},
  ${perl:Depends},
  ${shlibs:Depends}
+Replaces: ${cdbs:Replaces}
+Breaks: ${cdbs:Breaks}
 Description: globally/universally unique identifiers (GUIDs/UUIDs)
  Data::UUID provides a framework for generating v3 UUIDs (Universally
  Unique Identifiers, also known as GUIDs (Globally Unique Identifiers).
diff --git a/debian/rules b/debian/rules
index 61394eb..2f79fe8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,3 +24,11 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 DEB_UPSTREAM_PACKAGE = Data-UUID
 DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/R/RJ/RJBS
 DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = s/\+/_/
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+# replace versions of libossp-uuid-perl providing Data::UUID shim
+deps-ossp = libossp-uuid-perl (<= 1.6.2-1.3)
+
+CDBS_REPLACES_$(pkg) = $(deps-ossp)
+CDBS_BREAKS_$(pkg) = $(deps-ossp)

-- 
libdata-uuid-perl Debian packaging



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