Accepting request 952916 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/952916 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-recompress?expand=0&rev=19
This commit is contained in:
commit
3ea977b535
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 30 23:05:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- use filebased requires on gzip so that zstd can supplement it as
|
||||||
|
well
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 26 11:55:33 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
Wed May 26 11:55:33 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package obs-service-recompress
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 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.1
|
Version: 0.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,23 +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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
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 || 0%{?rhel} >= 6
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 || 0%{?fedora_version} > 25 || 0%{?rhel} >= 6
|
||||||
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.
|
||||||
|
|
||||||
@ -54,20 +50,18 @@ It supports to compress, uncompress or recompress files from or to
|
|||||||
xz : XZ Compression
|
xz : XZ Compression
|
||||||
zstd : Zstd Compression
|
zstd : Zstd Compression
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user