[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pkg-kde: commit - rev 198 - people/dato/kde-common



Author: dato-guest
Date: 2004-11-06 22:41:17 -0700 (Sat, 06 Nov 2004)
New Revision: 198

Modified:
   people/dato/kde-common/substvars.sh
Log:
See the updated comments in the diff.


Modified: people/dato/kde-common/substvars.sh
===================================================================
--- people/dato/kde-common/substvars.sh	2004-11-07 05:21:14 UTC (rev 197)
+++ people/dato/kde-common/substvars.sh	2004-11-07 05:41:17 UTC (rev 198)
@@ -22,6 +22,13 @@
 # use an exact version; dependencies on arch-all packages only require
 # the same upstream version (to allow binary NMUs).
 #
+# UPDATE (2004-11-07): Er, the above is bogus, it's not enough to
+# differenciate by type of package (arch:all or arch:any), but also
+# by the type of package that uses the variable! So, the
+# ${package:Depends} are bogus and ${package:XXX} should be used, being
+# XXX the architecture (all or any) of the package using the variable.
+# This time I think I got binNMUs right. Happy overengineering!
+#                                            
 # Later, it should be discussed the tightening the policy to: "packages
 # from a same source package must be all at the same version." See my
 # comments on Bug#276607. Currently, only packages with dependencies
@@ -32,11 +39,15 @@
 for p in `$listpackages arch`; do
   p2=`echo $p | tr -d .`
   echo "$p2:Depends=$p (= $VERSION)"
+  echo "$p2:any=$p (= $VERSION)"
+  echo "$p2:all=$p (>> $VERSION_NODEB), $p (<< $VERSION_NODEB_NEXT)"
 done
 
 for p in `$listpackages indep`; do
   p2=`echo $p | tr -d .`
   echo "$p2:Depends=$p (>> $VERSION_NODEB), $p (<< $VERSION_NODEB_NEXT)"
+  echo "$p2:all=$p (= $VERSION)"
+  echo "$p2:any=$p (>> $VERSION_NODEB), $p (<< $VERSION_NODEB_NEXT)"
 done
 
 # Conflicts for $source-base



Reply to: