handle librte-ethdev version and rename changes package rename transition 44/4244/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Fri, 9 Dec 2016 08:29:00 +0000 (09:29 +0100)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 12 Dec 2016 14:41:59 +0000 (15:41 +0100)
This is a bit of a "decision" we don't have many (in Debian actually
none) depending packages so far.
In a library that would behave we would ship dpdk-16.11 as new source
along dpdk-16.07, but as discussed we don't want to do that just yet.
OTOH the version 5 is fully backward compatible with version 4, so for
now we can handle it like a package rename transition.

On top of the api bump the library got renamed by upstream from
libethdev to librte-ethdev to follow their usual naming scheme.

That implies to rebuild dependent packages in distributions that have
them already (in Ubuntu) as a transitional joint package upload.

Change-Id: I13e0fc99ac1adb230f1cfc7491eb7cf162996df3
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/control

index a25a1e6..46e279a 100644 (file)
@@ -122,7 +122,7 @@ Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
          libpcap-dev,
-         libethdev4 (= ${binary:Version}),
+         librte-ethdev5 (= ${binary:Version}),
          librte-acl2 (= ${binary:Version}),
          librte-cfgfile2 (= ${binary:Version}),
          librte-cmdline2 (= ${binary:Version}),
@@ -177,6 +177,14 @@ Description: Data Plane Development Kit (basic development files)
  when running.
 
 Package: libethdev4
+Depends: librte-ethdev5, ${misc:Depends}
+Architecture: all
+Priority: extra
+Section: oldlibs
+Description: transitional package
+ This is a transitional package. It can safely be removed.
+
+Package: librte-ethdev5
 Architecture: amd64 arm64 i386 ppc64el
 Multi-Arch: same
 Homepage: http://dpdk.org/doc/api/rte__ethdev_8h.html