1
0
Dominique Leuenberger 2021-06-19 21:01:42 +00:00 committed by Git OBS Bridge
commit 7851482ff7
3 changed files with 8 additions and 5 deletions

View File

@ -6,7 +6,7 @@ arch=('i686' 'x86_64')
url="https://www.github.com/openSUSE/obs-service-recompress"
license=('GPL-2.0+' 'GPL-2.0')
groups=('base-devel')
depends=('gzip', 'bzip2', 'xz', 'zstd')
depends=('gzip' 'bzip2' 'xz' 'zstd')
source=(obs-service-recompress-${pkgver}.tar.gz)
md5sums=('SKIP')

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 26 11:55:33 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Fixed checking for zstd support on different distributions
-------------------------------------------------------------------
Mon Aug 03 05:25:43 UTC 2020 - adrian@suse.de

View File

@ -35,10 +35,8 @@ BuildRequires: xz
Requires: bzip2
Requires: gzip
Requires: xz
%if (0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150000) || 0%{?fedora_version} < 25 || 0%{?rhel_version} < 6
# noop
%else
# Enable zstd on all supported distributions
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 || 0%{?fedora_version} > 25 || 0%{?rhel} >= 6
BuildRequires: zstd
Requires: zstd
%endif