diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2020-06-20 21:55:08 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2020-06-20 21:55:08 +0000 |
commit | 65c7fe3c4967a01970839bf686f38e4fd0e7368b (patch) | |
tree | 0aa7e1e1d169b72b245de45fa734b680bf15514c | |
parent | 135a88d5ebbc201d79ea41b7b9ca93306ec7d132 (diff) |
automatic import of R-CRAN-predictionInterval
-rw-r--r-- | R-CRAN-predictionInterval.spec | 13 |
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} |