Browse Source

updated 2 packages

libsass-3.6.5-1

sassc-3.6.2-1
Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
2da9946903
2 changed files with 15 additions and 14 deletions
  1. 4 1
      lib/libs/libsass/libsass-vl.spec
  2. 11 13
      s/sassc/sassc-vl.spec

+ 4 - 1
lib/libs/libsass/libsass-vl.spec

@@ -1,5 +1,5 @@
 Name:           libsass
-Version:        3.6.4
+Version:        3.6.5
 Release:        1%{?_dist_release}
 Summary:        C/C++ port of the Sass CSS precompiler
 Summary(ja):    C/C++ Sass CSS プリコンパイラ
@@ -70,6 +70,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %changelog
+* Fri Mar 04 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.5-1
+- new upstream release.
+
 * Fri Mar 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.6.4-1
 - new upstream release.
 - dropped scriptlets.

+ 11 - 13
s/sassc/sassc-vl.spec

@@ -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.