Bug#1036047: unblock: nlopt/2.7.1-5
Nilesh Patra
nilesh at debian.org
Sun May 14 11:59:55 BST 2023
Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: unblock
X-Debbugs-Cc: nlopt at packages.debian.org
Control: affects -1 + src:nlopt
Please unblock package nlopt
[ Reason ]
This upload was done due to address a piuparts error while
upgrading nlopt from bullseye -> bookworm, see #1035629.
[ Impact ]
Loss of files in usr/share/doc/libnlopt0 maybe observed, and
over-writing files too, which is not desired.
[ Tests ]
Manual tests done locally by upgrading from version in bullseye to
bookworm, and then removing packages individually, and inspected the
contents of the doc directories -- did not see any surprises.
[ Risks ]
As the upload touches only the doc section only, the package is
un-affected in terms of it's core (library) functionality. No big risks.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock nlopt/2.7.1-5
-------------- next part --------------
diff -Nru nlopt-2.7.1/debian/changelog nlopt-2.7.1/debian/changelog
--- nlopt-2.7.1/debian/changelog 2022-04-14 15:10:53.000000000 +0000
+++ nlopt-2.7.1/debian/changelog 2023-05-14 09:35:20.000000000 +0000
@@ -1,3 +1,13 @@
+nlopt (2.7.1-5) unstable; urgency=medium
+
+ * Team Upload.
+ * Add maintscript to convert libnlopt-dev doc
+ symlink to directory (Closes: #1035629)
+ * Add a preinst to remove examples directory in libnlopt0
+ which should be present in -dev only
+
+ -- Nilesh Patra <nilesh at debian.org> Sun, 14 May 2023 09:35:20 +0000
+
nlopt (2.7.1-4) unstable; urgency=medium
* Team upload
diff -Nru nlopt-2.7.1/debian/libnlopt0.preinst nlopt-2.7.1/debian/libnlopt0.preinst
--- nlopt-2.7.1/debian/libnlopt0.preinst 1970-01-01 00:00:00.000000000 +0000
+++ nlopt-2.7.1/debian/libnlopt0.preinst 2023-05-14 09:35:20.000000000 +0000
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+# directory moved to -dev package, the symlink from past upgrade should be removed
+if [ -d /usr/share/doc/libnlopt0/examples ]; then
+ rm -rf /usr/share/doc/libnlopt0/examples
+fi
+#DEBHELPER#
diff -Nru nlopt-2.7.1/debian/libnlopt-dev.maintscript nlopt-2.7.1/debian/libnlopt-dev.maintscript
--- nlopt-2.7.1/debian/libnlopt-dev.maintscript 1970-01-01 00:00:00.000000000 +0000
+++ nlopt-2.7.1/debian/libnlopt-dev.maintscript 2023-05-14 09:35:20.000000000 +0000
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libnlopt-dev libnlopt0 2.7.1-5~
More information about the debian-science-maintainers
mailing list