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

This commit is contained in:
sunguoshuai 2021-09-08 16:36:37 +08:00
parent 675c22aa09
commit 0e4d7d5696

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