summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2020-04-23 00:14:40 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2020-04-23 00:14:40 +0000
commit3de69a00b30628cdc1868e1bf7edfd115ed7fd7f (patch)
tree0b12de55b1185e45e1dcc1d3b8d9c767316a0d15
parent072857c7627aa5a0b2c5d93c456e63a4e92ddff7 (diff)
automatic import of R-CRAN-ADMMf30
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-ADMM.spec9
-rw-r--r--sources2
3 files changed, 9 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index e9374fb..2bc53c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ADMM_0.3.1.tar.gz
+/ADMM_0.3.2.tar.gz
diff --git a/R-CRAN-ADMM.spec b/R-CRAN-ADMM.spec
index f9e4359..64ae92e 100644
--- a/R-CRAN-ADMM.spec
+++ b/R-CRAN-ADMM.spec
@@ -1,9 +1,9 @@
%global packname ADMM
-%global packver 0.3.1
+%global packver 0.3.2
%global rlibdir /usr/local/lib/R/library
Name: R-CRAN-%{packname}
-Version: 0.3.1
+Version: 0.3.2
Release: 1%{?dist}
Summary: Algorithms using Alternating Direction Method of Multipliers
@@ -21,6 +21,7 @@ BuildRequires: R-stats
BuildRequires: R-CRAN-doParallel
BuildRequires: R-CRAN-foreach
BuildRequires: R-parallel
+BuildRequires: R-utils
BuildRequires: R-CRAN-RcppArmadillo
Requires: R-CRAN-Rcpp
Requires: R-Matrix
@@ -29,6 +30,7 @@ Requires: R-stats
Requires: R-CRAN-doParallel
Requires: R-CRAN-foreach
Requires: R-parallel
+Requires: R-utils
%description
Provides algorithms to solve popular optimization problems in statistics
@@ -39,6 +41,7 @@ complete introduction to the method.
%prep
%setup -q -c -n %{packname}
+find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
%build
@@ -46,6 +49,7 @@ complete introduction to the method.
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
@@ -56,6 +60,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/DESCRIPTION
%{rlibdir}/%{packname}/NAMESPACE
+%doc %{rlibdir}/%{packname}/NEWS.md
%{rlibdir}/%{packname}/R
%doc %{rlibdir}/%{packname}/REFERENCES.bib
%{rlibdir}/%{packname}/INDEX
diff --git a/sources b/sources
index d41df2f..fc8652d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-90fb0fb442f72641a5c7c40ca77f2582 ADMM_0.3.1.tar.gz
+ac4a156cd053c8e92eb6cf85e7b0c08b ADMM_0.3.2.tar.gz