!11 update to 3.6.2

From: @fu-shanqing 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-09-21 03:52:06 +00:00 committed by Gitee
commit 4d7768df20
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 16 additions and 9 deletions

Binary file not shown.

BIN
sassc-3.6.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,15 @@
%define debug_package %{nil}
Name: sassc
Version: 3.5.0
Release: 4
Version: 3.6.2
Release: 1
Summary: Libsass command line driver
License: MIT
URL: https://github.com/sass/sassc
Source0: https://github.com/sass/sassc/archive/3.5.0.tar.gz
Source0: https://github.com/sass/sassc/archive/sassc-3.6.2.tar.gz
Source1: sass-spec-libsass-3.6.3.tar.gz
BuildRequires: libsass-devel libsass gcc
BuildRequires: libsass-devel libsass gcc-c++ autoconf automake libtool
Requires: libsass
%description
@ -19,7 +20,10 @@ SassC currently statically links the libsass library, but might one day using dy
if libsass supports that in the future.
%prep
%autosetup -p1
%autosetup -a 1
mv sass-spec-libsass-3.6.3 sass-spec
autoreconf -fiv
%build
export CFLAGS="${RPM_OPT_FLAGS}"
@ -28,15 +32,15 @@ sed -i.bak '
/^build-shared:/s/$(LIB_SHARED)//
s|-L$(SASS_LIBSASS_PATH)/lib||g' Makefile
%configure
%make_build BUILD="shared"
%install
install -Dpm 0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
rm -rf docs/**/*windows*
%make_install
%check
./bin/%{name} -h
./bin/%{name} -v
./%{name} -h
./%{name} -v
%files
%doc docs/* Readme.md
@ -44,6 +48,9 @@ rm -rf docs/**/*windows*
%{_bindir}/%{name}
%changelog
* Thu Jul 28 2022 fushanqing <fushanqing@kylinos.cn> - 3.6.2-1
- update sassc to 3.6.2
* Wed Sep 08 2021 sunguoshuai <sunguoshuai@huawei.com> - 3.5.0-4
- Fix binary /usr/bin/sassc not striped problem.