From 3695d99def5d2f1f7d551f159329a5823d30b283 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 31 May 2019 16:54:18 -0400 Subject: file, libmagic.1: Use oh-shlibdeps --- diff --git a/build b/build index 6015e93..345b487 100755 --- a/build +++ b/build @@ -16,3 +16,4 @@ install: build oh-fixperms oh-strip oh-installfiles + oh-shlibdeps diff --git a/changelog b/changelog index da5dfec..3e483eb 100644 --- a/changelog +++ b/changelog @@ -1,6 +1,7 @@ file (5.37-3) trunk * New upstream version. + * file, libmagic.1: Use automatic shared library dependencies. -- Patrick McDermott Fri, 31 May 2019 14:19:49 -0400 diff --git a/control b/control index 0419015..76d906b 100644 --- a/control +++ b/control @@ -1,3 +1,3 @@ Maintainer: "P. J. McDermott" -Build-Depends: opkhelper-3.0, libz.1-dev +Build-Depends: opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2), libz.1-dev Homepage: http://www.darwinsys.com/file/ diff --git a/file.pkg/control b/file.pkg/control index 56de45d..8ff53b0 100644 --- a/file.pkg/control +++ b/file.pkg/control @@ -1,5 +1,5 @@ Architecture: any Platform: all -Depends: libmagic.1 (= ${Binary-Version}), libz.1 +Depends: libmagic.1 (= ${Binary-Version}), ${Shlib-Depends} Description: Tool that determines file type using magic numbers ${Tool-Common-Description} diff --git a/libmagic.1.pkg/control b/libmagic.1.pkg/control index d881267..8709b90 100644 --- a/libmagic.1.pkg/control +++ b/libmagic.1.pkg/control @@ -1,4 +1,5 @@ Architecture: any Platform: all +Depends: ${Shlib-Depends} Description: Library that determines file type ${Library-Common-Description} -- cgit v0.9.1