Skip to content

Commit 511025a

Browse files
committed
sync
1 parent 99f06a4 commit 511025a

19 files changed

+103
-510
lines changed

Diff for: specs/R-CRAN-GWalkR.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname GWalkR
4-
%global packver 0.1.4
4+
%global packver 0.1.5
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 0.1.4
8+
Version: 0.1.5
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Interactive Exploratory Data Analysis Tool
1111

Diff for: specs/R-CRAN-RANN.spec

+18-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
%global __brp_check_rpaths %{nil}
2+
%global __requires_exclude ^libmpi
23
%global packname RANN
3-
%global packver 2.6.1
4+
%global packver 2.6.2
45
%global rlibdir /usr/local/lib/R/library
56

67
Name: R-CRAN-%{packname}
7-
Version: 2.6.1
8-
Release: 3%{?dist}%{?buildtag}
9-
Summary: Fast Nearest Neighbour Search (Wraps ANN Library) Using L2Metric
8+
Version: 2.6.2
9+
Release: 1%{?dist}%{?buildtag}
10+
Summary: Fast Nearest Neighbour Search (Wraps ANN Library) Using L2 Metric
1011

1112
License: GPL (>= 3)
1213
URL: https://cran.r-project.org/package=%{packname}
1314
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
1415

16+
1517
BuildRequires: R-devel
1618
Requires: R-core
1719

@@ -26,14 +28,26 @@ L1 (Manhattan, taxicab) metric.
2628
%prep
2729
%setup -q -c -n %{packname}
2830

31+
# fix end of executable files
32+
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
33+
# prevent binary stripping
34+
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
35+
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
36+
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
37+
sed -i 's@-g0@@g' {} \; || true
38+
# don't allow local prefix in executable scripts
39+
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;
2940

3041
%build
3142

3243
%install
44+
3345
mkdir -p %{buildroot}%{rlibdir}
3446
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
3547
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
3648
rm -f %{buildroot}%{rlibdir}/R.css
49+
# remove buildroot from installed files
50+
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;
3751

3852
%files
3953
%{rlibdir}/%{packname}

Diff for: specs/R-CRAN-apache.sedona.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname apache.sedona
4-
%global packver 1.6.0
4+
%global packver 1.6.1
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 1.6.0
8+
Version: 1.6.1
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: R Interface for Apache Sedona
1111

Diff for: specs/R-CRAN-cpp11armadillo.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname cpp11armadillo
4-
%global packver 0.2.8
4+
%global packver 0.3.1
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 0.2.8
8+
Version: 0.3.1
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: An 'Armadillo' Interface
1111

Diff for: specs/R-CRAN-datelife.spec

-116
This file was deleted.

Diff for: specs/R-CRAN-elhmc.spec

+20-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
%global __brp_check_rpaths %{nil}
2+
%global __requires_exclude ^libmpi
23
%global packname elhmc
3-
%global packver 1.1.0
4+
%global packver 1.2.0
45
%global rlibdir /usr/local/lib/R/library
56

67
Name: R-CRAN-%{packname}
7-
Version: 1.1.0
8-
Release: 3%{?dist}%{?buildtag}
9-
Summary: Sampling from a Empirical Likelihood Bayesian Posterior ofParameters Using Hamiltonian Monte Carlo
8+
Version: 1.2.0
9+
Release: 1%{?dist}%{?buildtag}
10+
Summary: Sampling from a Empirical Likelihood Bayesian Posterior of Parameters Using Hamiltonian Monte Carlo
1011

1112
License: GPL-2
1213
URL: https://cran.r-project.org/package=%{packname}
@@ -19,13 +20,13 @@ BuildArch: noarch
1920
BuildRequires: R-CRAN-emplik
2021
BuildRequires: R-CRAN-plyr
2122
BuildRequires: R-stats
22-
BuildRequires: R-MASS
23-
BuildRequires: R-utils
23+
BuildRequires: R-CRAN-MASS
24+
BuildRequires: R-graphics
2425
Requires: R-CRAN-emplik
2526
Requires: R-CRAN-plyr
2627
Requires: R-stats
27-
Requires: R-MASS
28-
Requires: R-utils
28+
Requires: R-CRAN-MASS
29+
Requires: R-graphics
2930

3031
%description
3132
A tool to draw samples from a Empirical Likelihood Bayesian posterior of
@@ -34,6 +35,15 @@ parameters using Hamiltonian Monte Carlo.
3435
%prep
3536
%setup -q -c -n %{packname}
3637

38+
# fix end of executable files
39+
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
40+
# prevent binary stripping
41+
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
42+
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
43+
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
44+
sed -i 's@-g0@@g' {} \; || true
45+
# don't allow local prefix in executable scripts
46+
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;
3747

3848
%build
3949

@@ -43,6 +53,8 @@ mkdir -p %{buildroot}%{rlibdir}
4353
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
4454
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
4555
rm -f %{buildroot}%{rlibdir}/R.css
56+
# remove buildroot from installed files
57+
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;
4658

4759
%files
4860
%{rlibdir}/%{packname}

Diff for: specs/R-CRAN-fixedincome.spec

-69
This file was deleted.

Diff for: specs/R-CRAN-governor.spec

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname governor
4-
%global packver 0.1.2
4+
%global packver 0.1.3
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 0.1.2
8+
Version: 0.1.3
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Speed Limiter to Control Rate of Execution of Loops
1111

@@ -18,10 +18,9 @@ BuildRequires: R-devel
1818
Requires: R-core
1919

2020
%description
21-
Speed limiter for controlling rate of execution of loops. It can be
22-
necessary to limit the rate of execution of a loop or repeated function
23-
call e.g. to show or gather data only at particular intervals. This
24-
package includes two methods for limiting this execution rate; speed
21+
It can be necessary to limit the rate of execution of a loop or repeated
22+
function call e.g. to show or gather data only at particular intervals.
23+
This package includes two methods for limiting this execution rate; speed
2524
governors and timers. A speed governor will insert pauses during
2625
execution to meet a user-specified loop time. Timers are alarm clocks
2726
which will indicate whether a certain time has passed. These mechanisms

Diff for: specs/R-CRAN-holi.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
%global __brp_check_rpaths %{nil}
22
%global __requires_exclude ^libmpi
33
%global packname holi
4-
%global packver 0.1.0
4+
%global packver 0.1.1
55
%global rlibdir /usr/local/lib/R/library
66

77
Name: R-CRAN-%{packname}
8-
Version: 0.1.0
8+
Version: 0.1.1
99
Release: 1%{?dist}%{?buildtag}
1010
Summary: Higher Order Likelihood Inference Web Applications
1111

0 commit comments

Comments
 (0)