[SCM] librole-commons-perl Debian packaging branch, master, updated. debian/0.101-1-2-g7e6bca1

Jonas Smedegaard dr at jones.dk
Wed Apr 3 08:44:23 UTC 2013


The following commit has been merged in the master branch:
commit 8e50d18a4b71ad7c4c29efae34e05f36799fcbf6
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Apr 3 10:27:43 2013 +0200

    Fix provide, replace and conflicts againt libobject-authority-perl and libauthority-shared-perl. Mention provided modules in long description.

diff --git a/debian/control.in b/debian/control.in
index ca1c03a..75ec3e9 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -16,9 +16,15 @@ Depends: ${cdbs:Depends},
  ${perl:Depends}
 Recommends: ${cdbs:Recommends}
 Suggests: ${cdbs:Suggests}
+Conflicts: ${cdbs:Conflicts}
+Provides: ${cdbs:Provides}
+Replaces: ${cdbs:Replaces}
 Description: roles that can be commonly used, for the mutual benefit of all
  Role::Commons is not yet another implementation of roles. It is a
  collection of generic, reusable roles that hopefully you will love to
  apply to your classes. These roles are built using Moo::Role, so
  automatically integrate into the Moose object system if you're using
  it, but they do not require Moose.
+ .
+ This package also provides the modules Object::AUTHORITY, Object::Tap
+ and Authority::shared.
diff --git a/debian/rules b/debian/rules
index f3490cd..5a09c56 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,5 +31,10 @@ DEB_UPSTREAM_TARBALL_MD5 = 90aa9c651dc5a2cecd9ccf8a65618912
 perl-deps = class-load moo object-id scalar-does
 deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
 
+provides = libobject-authority-perl, libauthority-shared-perl
+
 CDBS_BUILD_DEPENDS += , $(deps)
 CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_CONFLICTS_$(pkg) = $(provides)
+CDBS_PROVIDES_$(pkg) = $(provides)
+CDBS_REPLACES_$(pkg) = $(provides)

-- 
librole-commons-perl Debian packaging



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