From a5158e299fb7dabdc6d40dc85d1dfc5fedf7d911 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Apr 2023 09:50:04 +0200 Subject: Renaming python3-nvme to correct python3-libnvme name (Closes: #1032635). Signed-off-by: Daniel Baumann --- debian/control | 20 +++++++++++++++++++- debian/python3-libnvme.examples | 1 + debian/python3-libnvme.install | 1 + debian/python3-nvme.examples | 1 - debian/python3-nvme.install | 1 - 5 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 debian/python3-libnvme.examples create mode 100644 debian/python3-libnvme.install delete mode 100644 debian/python3-nvme.examples delete mode 100644 debian/python3-nvme.install diff --git a/debian/control b/debian/control index bfad408..53a5135 100644 --- a/debian/control +++ b/debian/control @@ -49,7 +49,7 @@ Description: NVMe management library (library) . This package contains the shared library. -Package: python3-nvme +Package: python3-libnvme Section: python Architecture: any Depends: @@ -57,6 +57,10 @@ Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, +Breaks: + python3-nvme, +Conflicts: + python3-nvme, Description: NVMe management library (Python) NVM Express (NVMe) is a interface specification for accessing non-volatile storage media, typically modern solid state drives (SSDs) through PCI Express @@ -64,3 +68,17 @@ Description: NVMe management library (Python) devices. . This package contains the Python bindings. + +Package: python3-nvme +Section: oldlibs +Priority: extra +Architecture: all +Depends: + python3-libnvme, + ${misc:Depends}, +Description: NVMe management library (transitional package) + Package to ease upgrading from older python3-nvme package to the new + python3-libnvme package. + . + This package can be purged at anytime once the python3-libnvme package has been + installed. diff --git a/debian/python3-libnvme.examples b/debian/python3-libnvme.examples new file mode 100644 index 0000000..2c8fad4 --- /dev/null +++ b/debian/python3-libnvme.examples @@ -0,0 +1 @@ +examples/*.py diff --git a/debian/python3-libnvme.install b/debian/python3-libnvme.install new file mode 100644 index 0000000..4606faa --- /dev/null +++ b/debian/python3-libnvme.install @@ -0,0 +1 @@ +usr/lib/python3* diff --git a/debian/python3-nvme.examples b/debian/python3-nvme.examples deleted file mode 100644 index 2c8fad4..0000000 --- a/debian/python3-nvme.examples +++ /dev/null @@ -1 +0,0 @@ -examples/*.py diff --git a/debian/python3-nvme.install b/debian/python3-nvme.install deleted file mode 100644 index 4606faa..0000000 --- a/debian/python3-nvme.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python3* -- cgit v1.2.3