Accepting request 687414 from filesystems

- Use | instead of / that can be part of -L or -I options. (forwarded request 687413 from dsterba)

OBS-URL: https://build.opensuse.org/request/show/687414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squashfs?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2019-03-22 13:55:49 +00:00 committed by Git OBS Bridge
commit 88f5e6b8d1
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Mar 21 00:00:00 CET 2019 - dsterba@suse.cz
- Use | instead of / that can be part of -L or -I options.
-------------------------------------------------------------------
Wed Mar 20 15:51:14 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Use / as sed command delimiter. Comma can actually show up in
optflags (think -Wl,…), which then breaks the sed command line
parsing.
-------------------------------------------------------------------
Wed Aug 1 14:36:31 UTC 2018 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package squashfs
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -54,7 +54,7 @@ squashfs images.
%patch4 -p1
%build
sed -i -e "s,-O2,%{optflags}," squashfs-tools/Makefile
sed -i -e "s|-O2|%{optflags}|" squashfs-tools/Makefile
make %{?_smp_mflags} -C squashfs-tools XZ_SUPPORT=1 LZO_SUPPORT=1 \
%if %{?suse_version} > 1315
LZ4_SUPPORT=1