On 25/03/11 23:13, Philipp Kern wrote:
> Are there dependencies from the -ddeb to the binary?  Because you'd want to
> update/upgrade your ddeb when you update the library, otherwise it becomes
> useless.  I imagine there can't be given that the binaries of our source
> package might not be co-installable.

This is handled by

# If the ddeb appears in the control file, we let the
# packager override our defaults there.
my $arch=package_arch($package);
my $srcpackage=sourcepackage();

my $depends="";
foreach my $pkg (getpackages("same")) {
        if ($pkg ne $package) {
                addsubstvar($package,"ddeb:Conflicts","$pkg","<< 
\${binary:Version}");
                addsubstvar($package,"ddeb:Conflicts","$pkg",">> 
\${binary:Version}");
                $depends="$depends | $pkg (= \${binary:Version})";
        }
}
$depends=~s/^ \| //;
addsubstvar($package,"ddeb:Depends","$depends","");

> Is there a rationale why this was done differently from Ubuntu?

There probably was, though I don't remember it. You can search in the
debian-devel archives on July and August 2009.

Cheers,
Emilio


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d8d26d3.6080...@debian.org

Reply via email to