[Git][debian-gis-team/lerc][master] 3 commits: Use UPSTREAM_VERSION in dh_makeshlibs
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Mon Nov 1 19:21:37 GMT 2021
Antonio Valentino pushed to branch master at Debian GIS Project / lerc
Commits:
b9acaba6 by Antonio Valentino at 2021-11-01T17:18:29+00:00
Use UPSTREAM_VERSION in dh_makeshlibs
- - - - -
a2d13710 by Antonio Valentino at 2021-11-01T18:55:06+00:00
Use pkg-kde-tools
- - - - -
797e5d23 by Antonio Valentino at 2021-11-01T19:16:23+00:00
Architecture any
- - - - -
2 changed files:
- debian/control
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -7,6 +7,7 @@ Testsuite: autopkgtest-pkg-python
Build-Depends: cmake,
debhelper-compat (= 12),
dh-python,
+ pkg-kde-tools,
python3-all,
python3-numpy,
python3-setuptools
@@ -17,7 +18,7 @@ Homepage: https://github.com/Esri/lerc
Rules-Requires-Root: no
Package: liblerc3
-Architecture: alpha amd64 arm64 armel armhf i386 ia64 mips64el mipsel ppc64el riscv64 sh4 x32
+Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends}
=====================================
debian/rules
=====================================
@@ -2,11 +2,16 @@
# DH_VERBOSE := 1
+include /usr/share/dpkg/pkg-info.mk
+
+UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
+
+
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=lerc
%:
- dh $@ --with python3 --buildsystem=cmake
+ dh $@ --with python3,pkgkde_symbolshelper --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure
@@ -16,6 +21,9 @@ override_dh_auto_build:
dh_auto_build
dh_auto_build --builddirectory build-static
+override_dh_makeshlibs:
+ dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0
+
override_dh_auto_install:
dh_auto_install --buildsystem=pybuild -ppython3-lerc --sourcedirectory=OtherLanguages/Python
dh_auto_install --builddirectory build-static
View it on GitLab: https://salsa.debian.org/debian-gis-team/lerc/-/compare/bb7a937928227098836993a4d045ad6fa2b8da58...797e5d232a4f70fa51f430f082f552d6b3feb36f
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/lerc/-/compare/bb7a937928227098836993a4d045ad6fa2b8da58...797e5d232a4f70fa51f430f082f552d6b3feb36f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20211101/2329ff68/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list