fix Bug 63005 - Fix build problems, .zst compression and shlib dependency (#1484)

* Fix build and defolr package versioning

* Fix .zst compression and dh_shlibdeps
This commit is contained in:
Elbakyan Shirak 2023-06-22 02:41:11 -04:00 committed by GitHub
parent 1bcdcd4f46
commit 3069f724c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -21,7 +21,7 @@ env:
jobs:
build_deb:
name: DEB packages
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: write
@ -53,7 +53,7 @@ jobs:
sudo apt install -y dotnet-sdk-7.0 yarn nodejs dh-make rename dpkg-sig lintian
sudo npm install -g json
echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
echo "VERSION=$(echo "${{ github.ref }}" | grep -oP '\d+\.\d+\.\d+' || echo "1.0.0")" >> $GITHUB_OUTPUT
echo "VERSION=$(echo "${{ github.ref }}" | grep -oP '\d+\.\d+\.\d+' || echo "1.1.0")" >> $GITHUB_OUTPUT
- name: Build
shell: bash
@ -82,7 +82,7 @@ jobs:
build_rpm:
name: RPM packages
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: write

View File

@ -60,7 +60,10 @@ override_dh_strip:
dh_strip -Xarm --no-automatic-dbgsym
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -Xarm -Xkafka
dh_shlibdeps -Xarm -Xkafka -- -xlibgcc-s1 --ignore-missing-info -xlibgcc1
override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_installinit:
# don't do anything, silences lintian warnings "init.d-script-not-included-in-package"