From ce7c581df473504a6a806c2cb740548fe02799e0 Mon Sep 17 00:00:00 2001 From: Sean Peterson Date: Sun, 6 Aug 2017 10:58:44 -0500 Subject: [PATCH] spec: Use spec from sass/sassc#93 --- sassc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sassc.spec b/sassc.spec index db2b52f..5cc3eae 100644 --- a/sassc.spec +++ b/sassc.spec @@ -12,6 +12,9 @@ URL: https://github.com/sass/sassc Source0: https://github.com/sass/%{pkg_name}/archive/%{version}.tar.gz BuildRequires: %{?scl_prefix}libsass-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool Requires: %{?scl_prefix}libsass %description @@ -19,10 +22,12 @@ CLI wrapper around libsass %prep %setup -q -n %{pkg_name}-%{version} +autoreconf --force --install %build %{?scl:scl enable %{scl} - << \EOF} +export SASSC_VERSION="%{version}" %configure make %{?_smp_mflags} %{?scl:EOF} @@ -33,7 +38,8 @@ make %{?_smp_mflags} %{?scl:EOF} %files -%doc +%doc Readme.md LICENSE +%{_bindir}/%{name}