Accepting request 687001 from home:dimstar:Factory

- Use / as sed command delimiter. Comma can actually show up in
  optflags (think -Wl,…), which then breaks the sed command line
  parsing.

OBS-URL: https://build.opensuse.org/request/show/687001
OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=34
This commit is contained in:
David Sterba 2019-03-20 18:54:57 +00:00 committed by Git OBS Bridge
parent 23734b97f0
commit 745a4209a5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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

@ -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