[Pkg-electronics-commits] [gnucap] 01/01: SONAME cleanup, make lintian happier
felix salfelder
felix-guest at moszumanska.debian.org
Thu Mar 1 22:08:02 UTC 2018
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master
in repository gnucap.
commit 6b1f81f4925a97ccf2211d3f8dc73657f9791181
Author: Felix Salfelder <felix at salfelder.org>
Date: Thu Mar 1 21:18:24 2018 +0000
SONAME cleanup, make lintian happier
---
debian/libgnucap0.install | 2 +-
debian/rules | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/libgnucap0.install b/debian/libgnucap0.install
index 7426e91..3b67f32 100644
--- a/debian/libgnucap0.install
+++ b/debian/libgnucap0.install
@@ -1 +1 @@
-/usr/lib/*/libgnucap.*so
+/usr/lib/*/libgnucap.so.0
diff --git a/debian/rules b/debian/rules
index 706c849..8628a7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ tarball_version = $(shell v="$(version_no_epoch)"; echo $${v%%-*})
upstream_commit = $(shell v="$(tarball_version)"; echo $${v\#\#*~})
# take from control?
-SONAME=libgnucap0
+SONAME=libgnucap.so.0
# upstream_commit_short = $(shell echo $(upstream_commit) | sed -e 's/\(........\).*/\1/')
#
@@ -42,11 +42,11 @@ EXEC_LDFLAGS = -rdynamic -L../../lib/O
override_dh_auto_build:
$(MAKE) -C lib \
LDFLAGS="$(LIB_LDFLAGS) \
- -Wl,-soname -Wl,${SONAME}.so \
+ -Wl,-soname -Wl,${SONAME} \
$(LDFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" \
CXXFLAGS="$(CXXFLAGS)"
- cd $(CURDIR)/lib/O; $(LN_S) libgnucap.so ${SONAME}.so
+ cd $(CURDIR)/lib/O; $(LN_S) libgnucap.so ${SONAME}
$(MAKE) -C modelgen \
LDFLAGS="$(EXEC_LDFLAGS) $(LDFLAGS)" \
@@ -72,8 +72,8 @@ override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/tmp
mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
mv $(CURDIR)/debian/tmp/usr/lib/libgnucap.so \
- $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/${SONAME}.so
- cd $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH); $(LN_S) ${SONAME}.so libgnucap.so
+ $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/${SONAME}
+ cd $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH); $(LN_S) ${SONAME} libgnucap.so
$(MAKE) install -C modelgen \
DESTDIR=$(CURDIR)/debian/tmp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git
More information about the Pkg-electronics-commits
mailing list