Fix stuff from package review.
This commit is contained in:
parent
56abcc6a11
commit
01102cae36
@ -10,7 +10,9 @@ Version: 0.5.1
|
|||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Using Fonts More Easily in R Graphs
|
Summary: Using Fonts More Easily in R Graphs
|
||||||
|
|
||||||
License: ASL 2.0
|
# Main: ASL 2.0
|
||||||
|
# src/tidy.h, src/utf8.c and src/utf8.h: libpng/zlib
|
||||||
|
License: ASL 2.0 and zlib
|
||||||
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
|
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
|
||||||
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}.tar.gz
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}.tar.gz
|
||||||
|
|
||||||
@ -52,6 +54,13 @@ this package.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -c -n %{packname}
|
%setup -q -c -n %{packname}
|
||||||
|
|
||||||
|
# Fix line endings.
|
||||||
|
for file in %{packname}/inst/doc/introduction.R %{packname}/inst/doc/introduction.Rmd; do
|
||||||
|
sed "s|\r||g" ${file} > ${file}.new
|
||||||
|
touch -r ${file} ${file}.new
|
||||||
|
mv ${file}.new ${file}
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -78,7 +87,7 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
|||||||
%{rlibdir}/%{packname}/DESCRIPTION
|
%{rlibdir}/%{packname}/DESCRIPTION
|
||||||
%doc %{rlibdir}/%{packname}/NEWS.Rd
|
%doc %{rlibdir}/%{packname}/NEWS.Rd
|
||||||
%doc %{rlibdir}/%{packname}/AUTHORS
|
%doc %{rlibdir}/%{packname}/AUTHORS
|
||||||
%doc %{rlibdir}/%{packname}/COPYRIGHTS
|
%license %{rlibdir}/%{packname}/COPYRIGHTS
|
||||||
%{rlibdir}/%{packname}/INDEX
|
%{rlibdir}/%{packname}/INDEX
|
||||||
%{rlibdir}/%{packname}/NAMESPACE
|
%{rlibdir}/%{packname}/NAMESPACE
|
||||||
%{rlibdir}/%{packname}/Meta
|
%{rlibdir}/%{packname}/Meta
|
||||||
@ -89,5 +98,9 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 05 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-2
|
||||||
|
- Fix license tagging
|
||||||
|
- Fix file line endings
|
||||||
|
|
||||||
* Thu May 31 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-1
|
* Thu May 31 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-1
|
||||||
- initial package for Fedora
|
- initial package for Fedora
|
||||||
|
Loading…
Reference in New Issue
Block a user