|
@@ -1,9 +1,9 @@
|
|
|
%bcond_with check
|
|
|
-%global testspec_version 3.6.0
|
|
|
+%global testspec_version 3.6.3
|
|
|
|
|
|
Name: sassc
|
|
|
-Version: 3.6.1
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 3.6.2
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Group: publishing
|
|
|
Summary: Wrapper around libsass to compile CSS stylesheet
|
|
|
Summary(ja): libsassのコマンドラインラッパー
|
|
@@ -12,7 +12,7 @@ Distribution: Vine Linux
|
|
|
|
|
|
License: MIT
|
|
|
URL: http://github.com/sass/sassc
|
|
|
-Source0: https://github.com/sass/sassc/archive/%{version}.tar.gz
|
|
|
+Source0: https://github.com/sass/sassc/archive/refs/tags/%{version}.tar.gz
|
|
|
# Test suite spec. According to this comment from an upstream dev, we should
|
|
|
# not use the release tags on the test spec:
|
|
|
# https://github.com/sass/libsass/issues/2258#issuecomment-268196004
|
|
@@ -20,9 +20,6 @@ Source0: https://github.com/sass/sassc/archive/%{version}.tar.gz
|
|
|
# https://github.com/sass/sass-spec/archive/v%%{testspec_version}.tar.gz
|
|
|
Source1: https://github.com/sass/sass-spec/archive/libsass-%{testspec_version}.tar.gz
|
|
|
|
|
|
-# libsass is built as a shared library.
|
|
|
-Patch0: %{name}-3.5.0-build.patch
|
|
|
-
|
|
|
BuildRequires: libsass-devel >= %{version}
|
|
|
BuildRequires: gcc-c++
|
|
|
%if %{with check}
|
|
@@ -42,19 +39,17 @@ application that can be installed and packaged for several operating systems.
|
|
|
%prep
|
|
|
%setup -q -a 1
|
|
|
mv sass-spec-libsass-%{testspec_version} sass-spec
|
|
|
-%patch0 -p1
|
|
|
+autoreconf -fiv
|
|
|
|
|
|
|
|
|
%build
|
|
|
-%make_build build-shared \
|
|
|
- LDFLAGS="%{build_ldflags}" \
|
|
|
- CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
- CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
+%configure
|
|
|
+%make_build
|
|
|
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
-install -p -m755 -D bin/sassc $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
|
+%make_install
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
@@ -69,6 +64,9 @@ ruby sass-spec/sass-spec.rb -V 3.6 -c bin/%{name} --impl libsass sass-spec/spec
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Mar 04 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.2-1
|
|
|
+- new upstream relaase.
|
|
|
+
|
|
|
* Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.1-2
|
|
|
- rebuilt with current environment.
|
|
|
|