From c35b9297e3afbd276fb8bc30ec358aae48d9928d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 08 Jun 2019 16:26:12 -0400 Subject: bc, dc: Use oh-shlibdeps --- diff --git a/bc.pkg/control b/bc.pkg/control index 9941f87..31279cd 100644 --- a/bc.pkg/control +++ b/bc.pkg/control @@ -1,6 +1,5 @@ Architecture: any Platform: all -Depends: bc-common (= ${Binary-Version}), - libreadline.6, libncurses.5, libtinfo.5 +Depends: bc-common (= ${Binary-Version}), ${Shlib-Depends} Description: Arbitrary precision calculator language ${Common-Description} diff --git a/build b/build index 1d44950..bf444f1 100755 --- a/build +++ b/build @@ -21,3 +21,4 @@ install: build oh-fixperms oh-strip oh-installfiles + oh-shlibdeps diff --git a/changelog b/changelog index 56471d3..c503e9b 100644 --- a/changelog +++ b/changelog @@ -2,6 +2,7 @@ bc (1.07.1-1) trunk * New upstream version. * Update Maintainer. + * bc, dc: Use automatic shared library dependencies. -- Patrick McDermott Sat, 08 Jun 2019 15:18:01 -0400 diff --git a/control b/control index cec2b93..db4c566 100644 --- a/control +++ b/control @@ -1,4 +1,4 @@ Maintainer: Patrick McDermott -Build-Depends: gpg, dirmngr, opkhelper-3.0, +Build-Depends: gpg, dirmngr, opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2), libreadline-dev, Homepage: https://www.gnu.org/software/bc/ diff --git a/dc.pkg/control b/dc.pkg/control index 3a34b7a..d34fc0d 100644 --- a/dc.pkg/control +++ b/dc.pkg/control @@ -1,6 +1,6 @@ Architecture: any Platform: all -Depends: bc-common (= ${Binary-Version}) +Depends: bc-common (= ${Binary-Version}), ${Shlib-Depends} Description: Arbitrary precision calculator GNU dc is a reverse-polish desk calculator which supports unlimited precision arithmetic. It also allows you to define and call macros. -- cgit v0.9.1