From c49abfe70b51c966ed59780ff6507a862f20f24a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 19 Dec 2020 22:52:54 -0500 Subject: source.mk: Use lzip and recompress with bzip2 --- diff --git a/control b/control index 775c2ea..29bc2a8 100644 --- a/control +++ b/control @@ -1,3 +1,3 @@ Maintainer: Patrick McDermott -Build-Depends: gpg, dirmngr, opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2) +Build-Depends: gpg, dirmngr, lzip, opkbuild (>= 4.0.1), opkhelper-3.0 (>= 3.1.2) Homepage: https://www.iana.org/time-zones diff --git a/source.mk b/source.mk index 4e32c18..9fdd010 100644 --- a/source.mk +++ b/source.mk @@ -3,7 +3,7 @@ upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.lz upstream_url_base = http://data.iana.org/time-zones/releases upstream_url = $(upstream_url_base)/$(upstream_archive) -source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.lz +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 gpg = GNUPGHOME=gnupghome/ gpg --no-default-keyring --keyring ../keyring.gpg keys = \ @@ -21,6 +21,6 @@ $(source_archive): exit 1; \ fi rm -Rf gnupghome/ - mv '$(upstream_archive)' '$(source_archive)' + lzip -cd '$(upstream_archive)' | bzip2 1>'$(source_archive)' source: $(source_archive) -- cgit v0.9.1