Fixup BRs and enable tests during build.
This commit is contained in:
parent
31702340db
commit
41d93d157e
15
R-highr.spec
15
R-highr.spec
@ -7,7 +7,7 @@
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 0.6
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Syntax Highlighting for R Source Code
|
||||
|
||||
License: GPLv2+
|
||||
@ -25,9 +25,9 @@ BuildArch: noarch
|
||||
Requires: R-core
|
||||
|
||||
BuildRequires: R-devel tex(latex)
|
||||
BuildRequires: R-testit
|
||||
%if 0%{?with_doc}
|
||||
Requires: R-knitr R-testit
|
||||
BuildRequires: R-knitr R-testit
|
||||
BuildRequires: R-knitr
|
||||
%endif
|
||||
|
||||
|
||||
@ -36,22 +36,27 @@ Provides syntax highlighting for R source code. Currently it supports
|
||||
LaTeX and HTML output. Source code of other languages is supported via
|
||||
Andre Simon's highlight package (http://www.andre-simon.de).
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -c -n %{packname}
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{rlibdir}
|
||||
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
|
||||
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
||||
rm -f %{buildroot}%{rlibdir}/R.css
|
||||
|
||||
|
||||
%check
|
||||
%if 0%{?with_doc}
|
||||
%{_bindir}/R CMD check %{packname}
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%dir %{rlibdir}/%{packname}
|
||||
%doc %{rlibdir}/%{packname}/doc
|
||||
@ -66,6 +71,10 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Nov 07 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.6-3
|
||||
- Enable tests during build.
|
||||
- Cleanup BRs.
|
||||
|
||||
* Thu Aug 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.6-2
|
||||
- Fix license and use https links.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user