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