diff --git a/obs-service-recompress.changes b/obs-service-recompress.changes index 66c09f0..d98f87b 100644 --- a/obs-service-recompress.changes +++ b/obs-service-recompress.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 5 08:53:17 UTC 2024 - Adrian Schröter + +- zstd is now available on SLE 15 SP0 + Adding dependency there as well to fix bsc#1216361 + ------------------------------------------------------------------- Tue Mar 1 14:41:26 UTC 2022 - Adrian Schröter diff --git a/obs-service-recompress.spec b/obs-service-recompress.spec index 8e29650..19a5e7b 100644 --- a/obs-service-recompress.spec +++ b/obs-service-recompress.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,6 @@ %define service recompress - Name: obs-service-%{service} Version: 0.5.2 Release: 0 @@ -26,22 +25,20 @@ License: GPL-2.0-or-later Group: Development/Tools/Building URL: https://github.com/openSUSE/obs-service-%{service} Source: %{name}-%{version}.tar.gz -BuildRequires: perl(Test::More) - BuildRequires: bzip2 BuildRequires: gzip BuildRequires: xz +BuildRequires: perl(Test::More) +Requires: %{_bindir}/gzip Requires: bzip2 -Requires: gzip Requires: xz +BuildArch: noarch # Enable zstd on all supported distributions -%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 || 0%{?fedora_version} > 25 +%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} > 25 BuildRequires: zstd Requires: zstd %endif -BuildArch: noarch - %description This is a source service for openSUSE Build Service. @@ -59,13 +56,12 @@ It supports to compress, uncompress or recompress files from or to %build %install -make DESTDIR=%buildroot install +%make_install %check -make test +%make_build test %files -%defattr(-,root,root) %dir %{_prefix}/lib/obs %{_prefix}/lib/obs/service