forked from pool/obs-service-recompress
Accepting request 822924 from openSUSE:Tools
- Update to version 0.5.0: * do not follow symlinks (issue 9) * add license file * compression using # of core threads for zstd and xz * Add support for keeping of original file * use --threads=0 OBS-URL: https://build.opensuse.org/request/show/822924 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-recompress?expand=0&rev=16
This commit is contained in:
commit
71266f5373
2
PKGBUILD
2
PKGBUILD
@ -1,5 +1,5 @@
|
|||||||
pkgname=obs-service-recompress
|
pkgname=obs-service-recompress
|
||||||
pkgver=0.4.0+git20200123.696d003
|
pkgver=0.5.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="An OBS source service: Recompress files"
|
pkgdesc="An OBS source service: Recompress files"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
6
_service
6
_service
@ -2,9 +2,9 @@
|
|||||||
<service mode="disabled" name="tar_scm">
|
<service mode="disabled" name="tar_scm">
|
||||||
<param name="url">git@github.com:openSUSE/obs-service-recompress.git</param>
|
<param name="url">git@github.com:openSUSE/obs-service-recompress.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="version">git-master</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="versionformat">@PARENT_TAG@+git%cd.%h</param>
|
<param name="version">0.5.0</param>
|
||||||
<param name="revision">master</param>
|
<param name="revision">0.5.0</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">git@github.com:openSUSE/obs-service-recompress.git</param>
|
<param name="url">git@github.com:openSUSE/obs-service-recompress.git</param>
|
||||||
<param name="changesrevision">696d003be1c1ac48e4a77dedb4e594c794a301fe</param></service></servicedata>
|
<param name="changesrevision">a821ab0e08ec171891c3bbcf16fd97c3cf00a82b</param>
|
||||||
|
</service>
|
||||||
|
</servicedata>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: obs-service-recompress
|
Source: obs-service-recompress
|
||||||
Version: 0.4.0+git20200123.696d003-0
|
Version: 0.5.0-0
|
||||||
Binary: obs-service-recompress
|
Binary: obs-service-recompress
|
||||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e8e55234b46f9a83dcdfc03c3be53856436caf66d446aebb8607625b4c25a252
|
|
||||||
size 4708
|
|
3
obs-service-recompress-0.5.0.tar.gz
Normal file
3
obs-service-recompress-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ed744833bfd1fa0f3c0e525f491791c63449477f2b5f7039f1b6e1bce2018a65
|
||||||
|
size 11436
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 27 06:25:18 UTC 2020 - adrian@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.5.0:
|
||||||
|
* do not follow symlinks (issue 9)
|
||||||
|
* add license file
|
||||||
|
* compression using # of core threads for zstd and xz
|
||||||
|
* Add support for keeping of original file
|
||||||
|
* use --threads=0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 23 08:44:27 UTC 2020 - adrian@suse.de
|
Thu Jan 23 08:44:27 UTC 2020 - adrian@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package obs-service-recompress
|
# spec file for package obs-service-recompress
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 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
|
||||||
@ -19,21 +19,30 @@
|
|||||||
%define service recompress
|
%define service recompress
|
||||||
|
|
||||||
Name: obs-service-%{service}
|
Name: obs-service-%{service}
|
||||||
Version: 0.4.0+git20200123.696d003
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An OBS source service: Recompress files
|
Summary: An OBS source service: Recompress files
|
||||||
License: GPL-2.0-or-later
|
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: zstd
|
|
||||||
Requires: bzip2
|
Requires: bzip2
|
||||||
Requires: gzip
|
Requires: gzip
|
||||||
Requires: xz
|
Requires: xz
|
||||||
|
|
||||||
|
%if (0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150000) || 0%{?fedora_version} < 25 || 0%{?rhel_version} < 6
|
||||||
|
# noop
|
||||||
|
%else
|
||||||
|
BuildRequires: zstd
|
||||||
Requires: zstd
|
Requires: zstd
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,7 +63,7 @@ It supports to compress, uncompress or recompress files from or to
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make DESTDIR=%buildroot install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
Loading…
Reference in New Issue
Block a user