Accepting request 831277 from home:bjoernv:branches:filesystems
- enabled ZSTD compression support for openSUSE >= 15.1 OBS-URL: https://build.opensuse.org/request/show/831277 OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=47
This commit is contained in:
parent
0709a3f074
commit
a9c9e90b07
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 1 17:16:30 UTC 2020 - Björn Voigt <bjoernv@arcor.de>
|
||||||
|
|
||||||
|
- enabled ZSTD compression support for openSUSE >= 15.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 31 11:41:23 UTC 2020 - Martin Liška <mliska@suse.cz>
|
Tue Mar 31 11:41:23 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -29,6 +29,9 @@ Patch1: squashfs-thread-limit
|
|||||||
%if %{?suse_version} > 1315
|
%if %{?suse_version} > 1315
|
||||||
BuildRequires: liblz4-devel
|
BuildRequires: liblz4-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
||||||
|
BuildRequires: libzstd-devel
|
||||||
|
%endif
|
||||||
BuildRequires: lzma-devel
|
BuildRequires: lzma-devel
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -49,7 +52,10 @@ squashfs images.
|
|||||||
sed -i -e "s|-O2|%{optflags} -fcommon|" squashfs-tools/Makefile
|
sed -i -e "s|-O2|%{optflags} -fcommon|" squashfs-tools/Makefile
|
||||||
make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 \
|
make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 \
|
||||||
%if %{?suse_version} > 1315
|
%if %{?suse_version} > 1315
|
||||||
LZ4_SUPPORT=1
|
LZ4_SUPPORT=1 \
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
||||||
|
ZSTD_SUPPORT=1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user