Skip to content

Commit

Permalink
Using xz compression for packages on Ubuntu-22 to have them recognised
Browse files Browse the repository at this point in the history
properly by our old reprepro.
  • Loading branch information
laeti-tia committed Jan 24, 2024
1 parent 0cfd125 commit 636d3ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python-pyjq/unibuild-packaging/deb/rules-Debian-11
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ override_dh_auto_test:
override_dh_auto_build:
cython3 $(INCLUDE_FLAGS) _pyjq.pyx
dh_auto_build

# dbgsym.ddeb are currently not supported by reprepro
override_dh_strip:
dh_strip --no-automatic-dbgsym
4 changes: 4 additions & 0 deletions python-pyjq/unibuild-packaging/deb/rules-Debian-12
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ override_dh_auto_test:
override_dh_auto_build:
cython3 $(INCLUDE_FLAGS) _pyjq.pyx
dh_auto_build

# dbgsym.ddeb are currently not supported by reprepro
override_dh_strip:
dh_strip --no-automatic-dbgsym
4 changes: 4 additions & 0 deletions python-pyjq/unibuild-packaging/deb/rules-Ubuntu-22
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ override_dh_auto_build:
cython3 $(INCLUDE_FLAGS) _pyjq.pyx
dh_auto_build

# Needed for our old reprepro to recognise the archives (U22 uses Zstandard)
override_dh_builddeb:
dh_builddeb -- -Zxz

# Ubuntu dbgsym.ddeb are currently not supported by reprepro
override_dh_strip:
dh_strip --no-automatic-dbgsym

0 comments on commit 636d3ad

Please sign in to comment.