This commit is contained in:
Aldemir Akpinar 2025-01-24 16:16:31 +03:00
parent bbc2531280
commit 0c6a77e3d2
3 changed files with 5 additions and 9 deletions

2
debian/changelog vendored
View file

@ -1,4 +1,4 @@
libnginx-mod-http-otel (1.0.0~rc-5) unstable; urgency=medium libnginx-mod-http-otel (1.0.0) unstable; urgency=medium
* Initial Release * Initial Release

View file

@ -1 +0,0 @@
/usr/lib/nginx/modules/ngx_http_otel_module.so

11
debian/rules vendored
View file

@ -7,10 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%: %:
dh $@ dh $@
NGINX_VERSION = $(shell /usr/sbin/nginx -V 2>&1 | sed -ne 's,nginx version: nginx/,,p') override_dh_auto_build:
DEB_VERSION_EPOCH = $(call dpkg_late_eval,DEB_VERSION_EPOCH,echo '$(DEB_VERSION_EPOCH_UPSTREAM)' | sed -e 's/[^:]*$$//') mkdir -p obj-${DEB_BUILD_GNU_TYPE} && cd obj-${DEB_BUILD_GNU_TYPE} && \
DEB_VERSION_REVISION = $(call dpkg_late_eval,DEB_VERSION_REVISION,echo '$(DEB_VERSION_UPSTREAM_REVISION)' | sed -e 's/^.*-//') cmake -DNGX_OTEL_NGINX_BUILD_DIR=/usr/share/nginx/src/objs .. && \
NGINX_DEB_VERSION = $(DEB_VERSION_EPOCH)$(DEB_VERSION_UPSTREAM)+$(NGINX_VERSION)-$(DEB_VERSION_REVISION) make -j12 "INSTALL=install --strip-program=true"
override_dh_gencontrol:
dh_gencontrol --remaining-packages -- -v$(NGINX_DEB_VERSION)