Fix some file line endings.
This commit is contained in:
parent
74f735da11
commit
a2dafe8a87
@ -3,7 +3,7 @@
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 1.1.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: An Import Mechanism for R
|
||||
|
||||
License: MIT
|
||||
@ -36,6 +36,14 @@ files. For more information, refer to the package vignette.
|
||||
%prep
|
||||
%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
|
||||
|
||||
@ -66,5 +74,8 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
||||
|
||||
|
||||
%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
|
||||
- initial package for Fedora
|
||||
|
Loading…
Reference in New Issue
Block a user