summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2020-06-20 21:55:08 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2020-06-20 21:55:08 +0000
commit65c7fe3c4967a01970839bf686f38e4fd0e7368b (patch)
tree0aa7e1e1d169b72b245de45fa734b680bf15514c
parent135a88d5ebbc201d79ea41b7b9ca93306ec7d132 (diff)
automatic import of R-CRAN-predictionInterval
-rw-r--r--R-CRAN-predictionInterval.spec13
1 files changed, 4 insertions, 9 deletions
diff --git a/R-CRAN-predictionInterval.spec b/R-CRAN-predictionInterval.spec
index ee691ba..58c9b40 100644
--- a/R-CRAN-predictionInterval.spec
+++ b/R-CRAN-predictionInterval.spec
@@ -39,6 +39,9 @@ has functions that calculate the prediction interval for the correlation
%prep
%setup -q -c -n %{packname}
+find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
+[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
+ sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
%build
@@ -51,12 +54,4 @@ test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
%files
-%dir %{rlibdir}/%{packname}
-%doc %{rlibdir}/%{packname}/html
-%{rlibdir}/%{packname}/Meta
-%{rlibdir}/%{packname}/help
-%{rlibdir}/%{packname}/DESCRIPTION
-%license %{rlibdir}/%{packname}/LICENSE
-%{rlibdir}/%{packname}/NAMESPACE
-%{rlibdir}/%{packname}/R
-%{rlibdir}/%{packname}/INDEX
+%{rlibdir}/%{packname}