Fix some file line endings.
This commit is contained in:
parent
74f735da11
commit
a2dafe8a87
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: R-%{packname}
|
Name: R-%{packname}
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: An Import Mechanism for R
|
Summary: An Import Mechanism for R
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -36,6 +36,14 @@ files. For more information, refer to the package vignette.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -c -n %{packname}
|
%setup -q -c -n %{packname}
|
||||||
|
|
||||||
|
for file in %{packname}/NEWS %{packname}/inst/doc/import.R*; do
|
||||||
|
iconv --from=latin1 --to=UTF-8 ${file} > ${file}.new
|
||||||
|
touch -r ${file} ${file}.new
|
||||||
|
sed "s|\r||g" ${file}.new > ${file}
|
||||||
|
touch -r ${file}.new ${file}
|
||||||
|
rm ${file}.new
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -66,5 +74,8 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 24 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-2
|
||||||
|
- Fix some file line endings
|
||||||
|
|
||||||
* Tue Apr 24 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-1
|
* Tue Apr 24 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-1
|
||||||
- initial package for Fedora
|
- initial package for Fedora
|
||||||
|
Loading…
Reference in New Issue
Block a user