[Pkg-voip-commits] r1618 - libcommoncpp2/trunk/debian

Mark Purcell msp at debian.org
Tue Apr 18 21:54:59 UTC 2006


Kilian,

I don't think this change is quite right..

libcommoncpp2-1.3-2 doesn't need to conflict with all versions of 
libcommoncpp2-1.3c2a.  Only version libcommoncpp2-1.3c2a (=1.3.26-1) as they 
both have the file /usr/lib/libccext2-1.3.so.2 & /usr/lib/libccgnu2-1.3.so.2 

The reason for this is that the soname has changed and you can have both 
libcommoncpp2-1.3-2 & libcommoncpp2-1.3c2a installed on the same system at 
the same time.  The libraries have different 
files /usr/lib/libccext2-1.3.so.1 & /usr/lib/libccext2-1.3.so.2.

However we can only have one -dev package installed at a time, but that's ok 
as it will be the latest..

It was only my mistake with 26-1 that means that any sort of conflict/replaces 
is required at all... Normally transition between sonames should be 
transparent and not require Replaces/ Conflicts.

Also we only need to support upgrades from stable, to testing and unstable.

Thus we can remove any conflicts earlier than the current stable version 
1.0.13-5. But none of those earlier libraries have files in common with 
libcommoncpp2-1.3-2!

Thus I think debian/control should read:

Package: libcommoncpp2-1.3-2
Conflicts: libcommoncpp2-1.3c2a (=1.3.26-1)
Replaces: libcommoncpp2-1.3c2a (=1.3.26-1)

Mark

On Monday 17 April 2006 16:44, Kilian Krause wrote:
> Author: kilian
> Date: 2006-04-17 15:44:55 +0000 (Mon, 17 Apr 2006)
> New Revision: 1618
>
> Modified:
>    libcommoncpp2/trunk/debian/changelog
>    libcommoncpp2/trunk/debian/control
> Log:
> Conflict and Replace old versions of libcommoncpp2-1.0-0c102 and
> libcommoncpp2-1.3c2a correctly.
>
>
>
> Modified: libcommoncpp2/trunk/debian/changelog
> ===================================================================
> --- libcommoncpp2/trunk/debian/changelog	2006-04-17 15:36:42 UTC (rev 1617)
> +++ libcommoncpp2/trunk/debian/changelog	2006-04-17 15:44:55 UTC (rev 1618)
> @@ -2,8 +2,10 @@
>
>    * NOT RELEASED YET
>    * debian/rules: Don't build arch=all in binary-arch target.
> +  * debian/control: Conflict and Replace old versions of
> +    libcommoncpp2-1.0-0c102 and libcommoncpp2-1.3c2a correctly.
>
> - -- Kilian Krause <kilian at debian.org>  Fri, 14 Apr 2006 12:28:53 +0200
> + -- Kilian Krause <kilian at debian.org>  Mon, 17 Apr 2006 17:44:20 +0200
>
>  libcommoncpp2 (1.3.26-2) unstable; urgency=low
>
>
> Modified: libcommoncpp2/trunk/debian/control
> ===================================================================
> --- libcommoncpp2/trunk/debian/control	2006-04-17 15:36:42 UTC (rev 1617)
> +++ libcommoncpp2/trunk/debian/control	2006-04-17 15:44:55 UTC (rev 1618)
> @@ -25,8 +25,8 @@
>   http://www.gnu.org/software/commoncpp/
>
>  Package: libcommoncpp2-1.3-2
> -Conflicts: libcommoncpp2-1.0-0, libcommoncpp2-1.0-0c102 (=1.3.10-1),
> libcommoncpp2-1.3, libcommoncpp2-1.3c2, libcommoncpp2-1.3c2a (=1.3.26-1)
> -Replaces: libcommoncpp2-1.0-0, libcommoncpp2-1.0-0c102 (=1.3.10-1),
> libcommoncpp2-1.3, libcommoncpp2-1.3c2, libcommoncpp2-1.3c2a (=1.3.26-1)
> +Conflicts: libcommoncpp2-1.0-0, libcommoncpp2-1.0-0c102,
> libcommoncpp2-1.3, libcommoncpp2-1.3c2, libcommoncpp2-1.3c2a +Replaces:
> libcommoncpp2-1.0-0, libcommoncpp2-1.0-0c102, libcommoncpp2-1.3,
> libcommoncpp2-1.3c2, libcommoncpp2-1.3c2a Section: libs
>  Architecture: any
>  Depends: ${shlibs:Depends}
>
>
> _______________________________________________
> Pkg-voip-commits mailing list
> Pkg-voip-commits at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-commits



More information about the Pkg-voip-maintainers mailing list