[Pkg-mono-svn-commits] rev 3570 - in cli-common/trunk: . debian
Mirco Bauer
meebey at alioth.debian.org
Tue Jan 1 21:20:02 UTC 2008
Author: meebey
Date: 2008-01-01 21:20:02 +0000 (Tue, 01 Jan 2008)
New Revision: 3570
Modified:
cli-common/trunk/debian/changelog
cli-common/trunk/dh_clideps
Log:
- last minute fix
Modified: cli-common/trunk/debian/changelog
===================================================================
--- cli-common/trunk/debian/changelog 2008-01-01 21:03:22 UTC (rev 3569)
+++ cli-common/trunk/debian/changelog 2008-01-01 21:20:02 UTC (rev 3570)
@@ -11,6 +11,8 @@
* postrm-cligacpolicy:
+ Don't abuse the policy-install script to remove policies when the package
is removed, instead we are using policy-remove now.
+ * dh_clideps:
+ + Require higher cli-common version for packages that use dh_cligacpolicy.
-- Mirco Bauer <meebey at debian.org> Tue, 01 Jan 2008 14:06:55 +0100
Modified: cli-common/trunk/dh_clideps
===================================================================
--- cli-common/trunk/dh_clideps 2008-01-01 21:03:22 UTC (rev 3569)
+++ cli-common/trunk/dh_clideps 2008-01-01 21:20:02 UTC (rev 3570)
@@ -270,11 +270,20 @@
$vm_ref = "pnet-interpreter (>= $cli_version), ";
}
}
-
+
+ my $dh_ref = "";
if (-f "$tmp/usr/share/cli-common/packages.d/$package.installcligac") {
- $vm_ref .= "cli-common (>= 0.5.1), ";
+ # this package uses late GAC install, thus we need cli-common at package install time
+ if (-f "debian/$package.cligacpolicy") {
+ # if this package uses dh_cligacpolicy then we need 0.5.4 for the policy-remove script in .postrm
+ $dh_ref = "cli-common (>= 0.5.4), ";
+ } else {
+ # we still need at least 0.5.1, as older versions silently missed installing policy files
+ $dh_ref = "cli-common (>= 0.5.1), ";
+ }
}
-
+ $vm_ref .= $dh_ref;
+
#$deps .= join(", ", "",
# sort {
# # beautify the sort order, requested by meebey
More information about the Pkg-mono-svn-commits
mailing list