[SCM] libdvdcss-pkg/master: expose guest' binary packages in Provides

onlyjob at users.alioth.debian.org onlyjob at users.alioth.debian.org
Tue May 21 03:15:41 UTC 2013


The following commit has been merged in the master branch:
commit 1886fef17f1a420a17065e0880ce815b1313fb01
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Tue May 21 13:12:07 2013 +1000

    expose guest' binary packages in Provides

diff --git a/debian/control b/debian/control
index 727b84b..09b346c 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/libdvdcss-pkg.gi
 
 Package: libdvd-pkg
 Architecture: all
+Provides: ${guest:Provides}
 Depends: ${misc:Depends} ,build-essential
         ,${guest:Build-Depends}
 Recommends: ${guest:Recommends}
diff --git a/debian/rules b/debian/rules
index d461a52..659edf2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,7 @@ override_dh_installchangelogs:
 override_dh_gencontrol:
 	dh_gencontrol -v -- \
           -Vguest:Build-Depends="$(shell perl -0n -E 's{^#.*$$}{}mg;' -E 'print $$1 if m{^Build-Depends:([^:A-Z]+)}ms;' $(PKGG)/debian/control)" \
+          -Vguest:Provides="$(shell perl -0nE 'print join q{,},m{^Package:\s+([^\s]+)}smg;' $(PKGG)/debian/control)" \
           -Vguest:Recommends="$(shell perl -0n -E 'print $$1 if m{^Recommends:([^:A-Z]+)}ms;' $(PKGG)/debian/control)" \
           -Vguest:Suggests="$(shell perl -0n -E 'print $$1 if m{^Suggests:([^:A-Z]+)}ms;' $(PKGG)/debian/control)" \
           -Vguest="$(PKGG)"

-- 
libdvdcss-pkg packaging



More information about the pkg-multimedia-commits mailing list