diff -Nru smc-tools-1.7.0/debian/changelog smc-tools-1.7.0/debian/changelog --- smc-tools-1.7.0/debian/changelog 2022-01-30 17:04:06.000000000 +0100 +++ smc-tools-1.7.0/debian/changelog 2024-02-07 15:36:29.000000000 +0100 @@ -1,3 +1,10 @@ +smc-tools (1.7.0-0ubuntu1.1) jammy; urgency=medium + + * Applied patch to adjust default library path for Ubuntu + * Add lsb_release to Build-Depends + + -- Asal Mirzaieva Wed, 07 Feb 2024 15:36:29 +0100 + smc-tools (1.7.0-0ubuntu1) jammy; urgency=medium * New upstream release. LP: #1959428 diff -Nru smc-tools-1.7.0/debian/control smc-tools-1.7.0/debian/control --- smc-tools-1.7.0/debian/control 2022-01-30 15:35:53.000000000 +0100 +++ smc-tools-1.7.0/debian/control 2024-02-07 15:36:29.000000000 +0100 @@ -2,7 +2,7 @@ Section: net Priority: optional Maintainer: Dimitri John Ledkov -Build-Depends: debhelper-compat (= 12), libnl-genl-3-dev, bash-completion, pkg-config +Build-Depends: debhelper-compat (= 12), libnl-genl-3-dev, bash-completion, pkg-config, lsb-release Standards-Version: 4.2.1 Homepage: https://www.ibm.com/developerworks/linux/linux390/smc-tools.html diff -Nru smc-tools-1.7.0/debian/patches/fix-library-path.patch smc-tools-1.7.0/debian/patches/fix-library-path.patch --- smc-tools-1.7.0/debian/patches/fix-library-path.patch 1970-01-01 01:00:00.000000000 +0100 +++ smc-tools-1.7.0/debian/patches/fix-library-path.patch 2024-02-07 15:36:29.000000000 +0100 @@ -0,0 +1,24 @@ +Description: Fix library path + For whatever reason the default library path for Ubuntu is + lib/${ARCHTYPE}-linux-gnu in smc-tools (which expands to lib/s390-linux-gnu), but + for other distributions it's /lib64, which translates to /lib in Ubuntu. + This changes the default patch on Ubuntu from lib/${ARCHTYPE}-linux-gnu + to (standard) /lib which is comparable to /lib64 on other distros. + On Ubuntu /lib holds by default 64-bit libraries. +Author: Frank Heimes +Bug-Ubuntu: https://bugs.launchpad.net/bugs/2009495 +Bug-IBM: BZ#201924 +Last-Update: 2023-03-21 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/Makefile ++++ b/Makefile +@@ -42,7 +42,7 @@ STUFF_32BIT = 0 + # + ifeq ($(ARCH),64) + ifeq ($(DISTRO),Ubuntu) +-LIBDIR = ${PREFIX}/lib/${ARCHTYPE}-linux-gnu ++LIBDIR = ${PREFIX}/lib + else + LIBDIR = ${PREFIX}/lib64 + endif diff -Nru smc-tools-1.7.0/debian/patches/series smc-tools-1.7.0/debian/patches/series --- smc-tools-1.7.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ smc-tools-1.7.0/debian/patches/series 2024-02-07 15:36:29.000000000 +0100 @@ -0,0 +1 @@ +fix-library-path.patch