1
0
Adrian Schröter 2024-01-05 08:55:09 +00:00 committed by Git OBS Bridge
parent 8fe03acaac
commit 95d9301063
2 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 5 08:53:17 UTC 2024 - Adrian Schröter <adrian@suse.de>
- 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 <adrian@suse.de>

View File

@ -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