Accepting request 900006 from home:Maliku
- Fix build for leap * --disable-zstd if leap < 42.3 * --disable-zoned for leap OBS-URL: https://build.opensuse.org/request/show/900006 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=350
This commit is contained in:
parent
cd8d63199a
commit
172f799372
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 15 02:57:07 UTC 2021 - Cameron Rapp <camspam@redhyena.net>
|
||||
|
||||
- Fix build for leap
|
||||
* --disable-zstd if leap < 42.3
|
||||
* --disable-zoned for leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 13 00:00:00 CEST 2021 - dsterba@suse.cz
|
||||
|
||||
|
@ -66,7 +66,7 @@ BuildRequires: libext2fs-devel
|
||||
BuildRequires: libreiserfscore-devel >= 3.6.27
|
||||
Requires: libreiserfscore0 >= 3.6.27
|
||||
BuildRequires: libuuid-devel
|
||||
%if 0%{?suse_version} > 1500
|
||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 120200
|
||||
BuildRequires: libzstd-devel
|
||||
%endif
|
||||
BuildRequires: lzo-devel
|
||||
@ -105,7 +105,7 @@ BuildRequires: libblkid-devel-static
|
||||
BuildRequires: libcom_err-devel-static
|
||||
BuildRequires: libext2fs-devel-static
|
||||
BuildRequires: libuuid-devel-static
|
||||
%if 0%{?suse_version} > 1500
|
||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 120200
|
||||
BuildRequires: libzstd-devel-static
|
||||
%endif
|
||||
BuildRequires: lzo-devel-static
|
||||
@ -203,9 +203,13 @@ export CFLAGS="%{optflags} -include sles11-defaults.h"
|
||||
%if !%{build_docs}
|
||||
--disable-documentation \
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1500
|
||||
%if 0%{?sle_version} < 120300
|
||||
--disable-zstd
|
||||
%endif
|
||||
%if 0%{?suse_version} < 1550
|
||||
--disable-zoned
|
||||
%endif
|
||||
|
||||
|
||||
make V=1 %{?_smp_mflags} all \
|
||||
%if %{build_static}
|
||||
|
Loading…
Reference in New Issue
Block a user