Hello community, here is the log from the commit of package squashfs for openSUSE:Factory checked in at 2016-02-09 13:30:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/squashfs (Old) and /work/SRC/openSUSE:Factory/.squashfs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "squashfs" Changes: -------- --- /work/SRC/openSUSE:Factory/squashfs/squashfs.changes 2015-11-08 14:35:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.squashfs.new/squashfs.changes 2016-02-09 13:30:13.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Jan 21 16:45:45 UTC 2016 - dmueller@suse.com + +- fix build for SLE12 and older + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ squashfs.spec ++++++ --- /var/tmp/diff_new_pack.hlUQE8/_old 2016-02-09 13:30:13.000000000 +0100 +++ /var/tmp/diff_new_pack.hlUQE8/_new 2016-02-09 13:30:13.000000000 +0100 @@ -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 @@ 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 @@ %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}