diff --git a/.gitignore b/.gitignore index 39c87ab..9790dbc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /htmlwidgets_0.9.tar.gz +/htmlwidgets_1.2.tar.gz diff --git a/R-htmlwidgets.spec b/R-htmlwidgets.spec index 7d19398..c5d071e 100644 --- a/R-htmlwidgets.spec +++ b/R-htmlwidgets.spec @@ -5,8 +5,8 @@ %global with_doc 0 Name: R-%{packname} -Version: 0.9 -Release: 3%{?dist} +Version: 1.2 +Release: 1%{?dist} Summary: HTML Widgets for R License: MIT @@ -15,38 +15,47 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}. # Here's the R view of the dependencies world: # Depends: -# Imports: R-htmltools R-jsonlite R-yaml -# Suggests: R-knitr +# Imports: R-grDevices, R-htmltools >= 0.3, R-jsonlite >= 0.9.16, R-yaml +# Suggests: R-knitr >= 1.8 # LinkingTo: # Enhances: BuildArch: noarch Requires: R-core - -Requires: R-htmltools R-jsonlite R-yaml -BuildRequires: R-devel tex(latex) -BuildRequires: R-htmltools R-jsonlite R-yaml - -Suggests: R-knitr +Requires: R-grDevices +Requires: R-htmltools >= 0.3 +Requires: R-jsonlite >= 0.9.16 +Requires: R-yaml +Suggests: R-knitr >= 1.8 +BuildRequires: R-devel +BuildRequires: tex(latex) +BuildRequires: R-grDevices +BuildRequires: R-htmltools >= 0.3 +BuildRequires: R-jsonlite >= 0.9.16 +BuildRequires: R-yaml %if %{with_doc} -BuildRequires: R-knitr +BuildRequires: R-knitr >= 1.8 %endif %description A framework for creating HTML widgets that render in various contexts including the R console, 'R Markdown' documents, and 'Shiny' web applications. + %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 %{with_doc} %{_bindir}/R CMD check %{packname} @@ -71,6 +80,9 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes %changelog +* Thu Apr 26 2018 Elliott Sales de Andrade - 1.2-1 +- Update to latest version + * Wed Feb 07 2018 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index ec428bf..2ccaa1c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (htmlwidgets_0.9.tar.gz) = 4c129601a10ac6a99c1844fc0402f444453ae702cb902f80cbc9bdbda35f01d9476de43f711467df2d12db83c9fe2ad927809ef88946f42300482d524cad0ed6 +SHA512 (htmlwidgets_1.2.tar.gz) = 0ac075bbec81110ea2cecfaed140ead36a28b7b2ad55cebf8eae4abdaecbf71437c092a20df1695e8a42699b9aa64e0c5ad2085f895c372d745a0b36d789e0be