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> Tue Mar 1 14:41:26 UTC 2022 - Adrian Schröter <adrian@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,6 @@
%define service recompress %define service recompress
Name: obs-service-%{service} Name: obs-service-%{service}
Version: 0.5.2 Version: 0.5.2
Release: 0 Release: 0
@ -26,22 +25,20 @@ License: GPL-2.0-or-later
Group: Development/Tools/Building Group: Development/Tools/Building
URL: https://github.com/openSUSE/obs-service-%{service} URL: https://github.com/openSUSE/obs-service-%{service}
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
BuildRequires: perl(Test::More)
BuildRequires: bzip2 BuildRequires: bzip2
BuildRequires: gzip BuildRequires: gzip
BuildRequires: xz BuildRequires: xz
BuildRequires: perl(Test::More)
Requires: %{_bindir}/gzip
Requires: bzip2 Requires: bzip2
Requires: gzip
Requires: xz Requires: xz
BuildArch: noarch
# Enable zstd on all supported distributions # 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 BuildRequires: zstd
Requires: zstd Requires: zstd
%endif %endif
BuildArch: noarch
%description %description
This is a source service for openSUSE Build Service. 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 %build
%install %install
make DESTDIR=%buildroot install %make_install
%check %check
make test %make_build test
%files %files
%defattr(-,root,root)
%dir %{_prefix}/lib/obs %dir %{_prefix}/lib/obs
%{_prefix}/lib/obs/service %{_prefix}/lib/obs/service