diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-11-30 01:15:36 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-11-30 01:15:37 +0000 |
commit | e5e349e8c36949cd9bf8a74ac41b533a308c5b1b (patch) | |
tree | c2c32011e0f3b3253991eb98391ec63d5a2dca19 | |
parent | 3fb121a8ff9e9770696c6ffeac554458fef0a419 (diff) |
automatic import of R-CRAN-Copula.Markovf35
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | R-CRAN-Copula.Markov.spec | 39 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 22 insertions, 21 deletions
@@ -1 +1 @@ -/Copula.Markov_2.8.tar.gz +/Copula.Markov_2.9.tar.gz diff --git a/R-CRAN-Copula.Markov.spec b/R-CRAN-Copula.Markov.spec index c3934f3..b6f95d9 100644 --- a/R-CRAN-Copula.Markov.spec +++ b/R-CRAN-Copula.Markov.spec @@ -1,12 +1,12 @@ %global __brp_check_rpaths %{nil} %global packname Copula.Markov -%global packver 2.8 +%global packver 2.9 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} -Version: 2.8 -Release: 3%{?dist}%{?buildtag} -Summary: Copula-Based Estimation and Statistical Process Control forSerially Correlated Time Series +Version: 2.9 +Release: 1%{?dist}%{?buildtag} +Summary: Copula-Based Estimation and Statistical Process Control for Serially Correlated Time Series License: GPL-2 URL: https://cran.r-project.org/package=%{packname} @@ -21,16 +21,24 @@ BuildArch: noarch Estimation and statistical process control are performed under copula-based time-series models. Available are statistical methods in Long and Emura (2014 JCSA), Emura et al. (2017 Commun Stat-Simul) -<DOI:10.1080/03610918.2015.1073303>, Huang and Emura (2019 Commun -Stat-Simul) <DOI:10.1080/03610918.2019.1602647>, Lin et al. (2019 Comm -Stat-Simul) <DOI:10.1080/03610918.2019.1652318>, Sun et al. (2020 to -appear in JSS Series in Statistics, Springer), and Huang, Chen and Emura -(2019-, in revision). +<DOI:10.1080/03610918.2015.1073303>, Huang and Emura (2021 Commun +Stat-Simul) <DOI:10.1080/03610918.2019.1602647>, Lin et al. (2021 Comm +Stat-Simul) <DOI:10.1080/03610918.2019.1652318>, Sun et al. (2020 JSS +Series in Statistics)<DOI:10.1007/978-981-15-4998-4>, and Huang and Emura +(2021, in revision). %prep %setup -q -c -n %{packname} +# fix end of executable files find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; %build @@ -38,17 +46,10 @@ find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} - test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; %files -%dir %{rlibdir}/%{packname} -%doc %{rlibdir}/%{packname}/html -%{rlibdir}/%{packname}/Meta -%{rlibdir}/%{packname}/help -%{rlibdir}/%{packname}/data -%{rlibdir}/%{packname}/DESCRIPTION -%{rlibdir}/%{packname}/NAMESPACE -%{rlibdir}/%{packname}/R -%{rlibdir}/%{packname}/INDEX +%{rlibdir}/%{packname} @@ -1 +1 @@ -4f8802031f674e052073944c6f29e9e6 Copula.Markov_2.8.tar.gz +a1887269f423da56d690f55952bc2b2a Copula.Markov_2.9.tar.gz |