From 745a4209a5553dc2e82a1a59ccb8626e933f240d6edeeafd1b0c1dab73b59d91 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 20 Mar 2019 18:54:57 +0000 Subject: [PATCH] Accepting request 687001 from home:dimstar:Factory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- squashfs.changes | 7 +++++++ squashfs.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/squashfs.changes b/squashfs.changes index c4236ba..9146fd3 100644 --- a/squashfs.changes +++ b/squashfs.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 20 15:51:14 UTC 2019 - Dominique Leuenberger + +- 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 diff --git a/squashfs.spec b/squashfs.spec index acfcc1e..cb0ba84 100644 --- a/squashfs.spec +++ b/squashfs.spec @@ -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