update to 3.6.2
This commit is contained in:
parent
a02098dea0
commit
12bc4b7d54
BIN
sass-spec-libsass-3.6.3.tar.gz
Normal file
BIN
sass-spec-libsass-3.6.3.tar.gz
Normal file
Binary file not shown.
BIN
sassc-3.6.2.tar.gz
Normal file
BIN
sassc-3.6.2.tar.gz
Normal file
Binary file not shown.
25
sassc.spec
25
sassc.spec
@ -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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user