diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-13 12:17:21 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-16 12:11:24 +0700 |
commit | 060447e25a4971bb26d2a741d98dda208a5607da (patch) | |
tree | fd2261a50fcbe5363982807feada4623c7826e88 /system | |
parent | 552e9bba0a3d81ca0bd0f7fd708d1de3195c7a12 (diff) |
system/lvm2-cluster: Strip library.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/lvm2-cluster/lvm2-cluster.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/system/lvm2-cluster/lvm2-cluster.SlackBuild b/system/lvm2-cluster/lvm2-cluster.SlackBuild index 5037ddf107df..e0ab207d5348 100644 --- a/system/lvm2-cluster/lvm2-cluster.SlackBuild +++ b/system/lvm2-cluster/lvm2-cluster.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220413 bkw: Modified by SlackBuilds.org, BUILD=2: strip library. + # 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0. # This should probably be updated to match the version of lvm2 in # Slackware 15.0, but I leave that up to the maintainer to decide. @@ -30,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lvm2-cluster VERSION=${VERSION:-2.02.154} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -122,7 +124,7 @@ gzip -9c < man/clvmd.8 > $PKG/usr/man/man8/clvmd.8.gz install -D -m0755 -oroot -groot scripts/clvmd_init_red_hat $PKG/etc/rc.d/rc.clvmd.new sed -e "s|/etc/sysconfig|/etc/default|g" -i $PKG/etc/rc.d/rc.clvmd.new -install -D -m0755 -oroot -groot lib/locking/liblvm2clusterlock.so.${VERSION%.*} \ +install -s -D -m0755 -oroot -groot lib/locking/liblvm2clusterlock.so.${VERSION%.*} \ $PKG/usr/lib${LIBDIRSUFFIX}/lvm2/liblvm2clusterlock.so.${VERSION%.*} ln -s liblvm2clusterlock.so.${VERSION%.*} \ $PKG/usr/lib${LIBDIRSUFFIX}/lvm2/liblvm2clusterlock.so |