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

Bug#990955: unblock: mstch/1.0.2-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package mstch

[ Reason ]
Fixes release-critical bug 951647.

[ Impact ]
No packages in Debian depend on this library, but it would cause libmstch-dev
to be removed from Buster, preventing people from installing it.

[ Tests ]
Manual test has been done to confirm that the bugs have been fixed.

[ Risks ]
The change is trivial, and consists of moving a CMake configuration file
into an arch-specific directory where it belongs.

[ 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 mstch/1.0.2-3
diff -Nru mstch-1.0.2/debian/changelog mstch-1.0.2/debian/changelog
--- mstch-1.0.2/debian/changelog	2018-01-03 00:35:05.000000000 +0100
+++ mstch-1.0.2/debian/changelog	2021-07-11 14:18:54.000000000 +0200
@@ -1,3 +1,12 @@
+mstch (1.0.2-3) unstable; urgency=medium
+
+  * Bump Standards-Version.
+  * Add Rules-Requires-Root: no.
+  * Fix installation directory for the CMake configuration file.
+    Closes: #951647, #897342
+
+ -- Guus Sliepen <guus@debian.org>  Sun, 11 Jul 2021 14:18:54 +0200
+
 mstch (1.0.2-2) unstable; urgency=medium
 
   * Fix grammar in debian/control.
diff -Nru mstch-1.0.2/debian/control mstch-1.0.2/debian/control
--- mstch-1.0.2/debian/control	2018-01-03 00:33:44.000000000 +0100
+++ mstch-1.0.2/debian/control	2018-01-09 19:32:09.000000000 +0100
@@ -2,9 +2,10 @@
 Priority: optional
 Maintainer: Guus Sliepen <guus@debian.org>
 Build-Depends: debhelper (>= 10), cmake (>= 3.0), libboost-dev (>= 1.54)
-Standards-Version: 4.1.2
+Standards-Version: 4.1.3
 Section: libs
 Homepage: https://github.com/no1msd/mstch
+Rules-Requires-Root: no
 
 Package: libmstch-dev
 Section: libdevel
diff -Nru mstch-1.0.2/debian/patches/fix-lib-dir mstch-1.0.2/debian/patches/fix-lib-dir
--- mstch-1.0.2/debian/patches/fix-lib-dir	2018-01-02 16:59:55.000000000 +0100
+++ mstch-1.0.2/debian/patches/fix-lib-dir	2021-07-11 14:17:41.000000000 +0200
@@ -11,7 +11,7 @@
  
  install(
      FILES "${PROJECT_SOURCE_DIR}/include/mstch/mstch.hpp"
-@@ -55,7 +55,7 @@
+@@ -55,10 +55,10 @@
      EXPORT mstchTargets
      FILE mstch-targets.cmake
      NAMESPACE mstch::
@@ -20,3 +20,7 @@
  
  install(FILES
      "${PROJECT_SOURCE_DIR}/cmake/mstch-config.cmake"
+     "${CMAKE_CURRENT_BINARY_DIR}/mstch/mstch-config-version.cmake"
+-    DESTINATION lib/cmake/mstch
++    DESTINATION lib/${CMAKE_LIBRARY_PATH}/cmake/mstch
+     COMPONENT Devel)

Reply to: