Skip to content

Commit

Permalink
spec: Use spec from sass/sassc#93
Browse files Browse the repository at this point in the history
  • Loading branch information
number41 committed Aug 6, 2017
1 parent b9fc712 commit ce7c581
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sassc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,22 @@ 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
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}
Expand All @@ -33,7 +38,8 @@ make %{?_smp_mflags}
%{?scl:EOF}
%files
%doc
%doc Readme.md LICENSE
%{_bindir}/%{name}
Expand Down

0 comments on commit ce7c581

Please sign in to comment.