Skip to content

Commit ce7c581

Browse files
committed
spec: Use spec from sass/sassc#93
1 parent b9fc712 commit ce7c581

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

sassc.spec

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,22 @@ URL: https://github.com/sass/sassc
1212
Source0: https://github.com/sass/%{pkg_name}/archive/%{version}.tar.gz
1313

1414
BuildRequires: %{?scl_prefix}libsass-devel
15+
BuildRequires: autoconf
16+
BuildRequires: automake
17+
BuildRequires: libtool
1518
Requires: %{?scl_prefix}libsass
1619

1720
%description
1821
CLI wrapper around libsass
1922

2023
%prep
2124
%setup -q -n %{pkg_name}-%{version}
25+
autoreconf --force --install
2226

2327

2428
%build
2529
%{?scl:scl enable %{scl} - << \EOF}
30+
export SASSC_VERSION="%{version}"
2631
%configure
2732
make %{?_smp_mflags}
2833
%{?scl:EOF}
@@ -33,7 +38,8 @@ make %{?_smp_mflags}
3338
%{?scl:EOF}
3439
3540
%files
36-
%doc
41+
%doc Readme.md LICENSE
42+
%{_bindir}/%{name}
3743
3844
3945

0 commit comments

Comments
 (0)