!5 Fix binary /usr/bin/sassc not striped problem.

From: @si-gui
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-09-10 02:26:52 +00:00 committed by Gitee
commit 992fc130ba

View File

@ -2,7 +2,7 @@
Name: sassc
Version: 3.5.0
Release: 3
Release: 4
Summary: Libsass command line driver
License: MIT
URL: https://github.com/sass/sassc
@ -22,6 +22,7 @@ if libsass supports that in the future.
%autosetup -p1
%build
export CFLAGS="${RPM_OPT_FLAGS}"
sed -i.bak '
/^$(SASSC_EXE):/s/libsass//
/^build-shared:/s/$(LIB_SHARED)//
@ -43,6 +44,9 @@ rm -rf docs/**/*windows*
%{_bindir}/%{name}
%changelog
* Wed Sep 08 2021 sunguoshuai <sunguoshuai@huawei.com> - 3.5.0-4
- Fix binary /usr/bin/sassc not striped problem.
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 3.5.0-3
- Completing build dependencies to fix gcc compiler missing error