Accepting request 356582 from filesystems
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/356582 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=33
This commit is contained in:
commit
0a59c41667
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 16:45:45 UTC 2016 - dmueller@suse.com
|
||||
|
||||
- fix build for SLE12 and older
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 5 08:29:56 UTC 2015 - seife+obs@b1-systems.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package squashfs
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -29,7 +29,9 @@ Patch0: squashfs-64k.patch
|
||||
Patch1: 0001-mksquashfs-fix-rare-race-in-fragment-waiting-in-file.patch
|
||||
# PATCH-FIX-UPSTREAM 0002-Fix-2GB-limit-of-the-is_fragment-.-function.patch boo#953723
|
||||
Patch2: 0002-Fix-2GB-limit-of-the-is_fragment-.-function.patch
|
||||
%if %{?suse_version} > 1315
|
||||
BuildRequires: liblz4-devel
|
||||
%endif
|
||||
BuildRequires: lzma-devel
|
||||
BuildRequires: lzo-devel
|
||||
BuildRequires: zlib-devel
|
||||
@ -48,7 +50,10 @@ squashfs images.
|
||||
|
||||
%build
|
||||
sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile
|
||||
make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1
|
||||
make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 \
|
||||
%if %{?suse_version} > 1315
|
||||
LZ4_SUPPORT=1
|
||||
%endif
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
|
Loading…
Reference in New Issue
Block a user