[packages/R] Rel 2

arekm arekm at pld-linux.org
Sun Apr 5 14:05:29 CEST 2026


commit e78a830d3f7abbf2eebcd6e571bfda51138bc87f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Apr 5 14:05:22 2026 +0200

    Rel 2

 R-no387-tests.patch | 15 +++++++++++++++
 R.spec              |  5 +++--
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/R.spec b/R.spec
index d612f31..4ff7675 100644
--- a/R.spec
+++ b/R.spec
@@ -16,7 +16,7 @@ Summary:	A language for data analysis and graphics
 Summary(pl.UTF-8):	Język do analizy danych oraz grafiki
 Name:		R
 Version:	4.5.3
-Release:	1
+Release:	2
 License:	mixed (distributable), mostly GPL v2+
 Group:		Development/Languages
 Source0:	https://cran.r-project.org/src/base/R-4/%{name}-%{version}.tar.xz
@@ -24,6 +24,7 @@ Source0:	https://cran.r-project.org/src/base/R-4/%{name}-%{version}.tar.xz
 Source1:	%{name}.desktop
 Source2:	%{name}.xpm
 Patch0:		%{name}-timezone.patch
+Patch1:		%{name}-no387-tests.patch
 URL:		https://www.r-project.org/
 # yes, it is, or tests will fail
 BuildRequires:	/etc/localtime
@@ -132,7 +133,7 @@ Narzędzia R w Javie.
 %ifarch %{ix86}
 %if %{without sse2}
 # some tests fail with 387 math
-%{__sed} -i -e 's/ reg-tests-1d\.R//;s/p-qbeta-strict-tst\.R //' tests/Makefile.common
+%patch -P1 -p1
 %endif
 %endif
 
diff --git a/R-no387-tests.patch b/R-no387-tests.patch
new file mode 100644
index 0000000..17f441f
--- /dev/null
+++ b/R-no387-tests.patch
@@ -0,0 +1,15 @@
+--- R-4.5.3/tests/Makefile.common.orig	2026-04-05 14:04:02.139878812 +0200
++++ R-4.5.3/tests/Makefile.common	2026-04-05 14:04:02.145308788 +0200
+@@ -55,10 +55,10 @@
+ 
+ test-src-reg-1 = array-subset.R \
+   classes-methods.R \
+-  reg-tests-1a.R reg-tests-1b.R reg-tests-1c.R reg-tests-1d.R \
++  reg-tests-1a.R reg-tests-1b.R reg-tests-1c.R \
+   reg-tests-1e.R reg-tests-2.R \
+   reg-examples1.R reg-examples2.R reg-packages.R \
+-  p-qbeta-strict-tst.R d-p-q-r-tst-2.R \
++  \
+   r-strict-tst.R \
+   reg-IO.R reg-IO2.R reg-plot.R reg-S4.R reg-S4-examples.R reg-BLAS.R
+ ## added to in Makefile.win
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/R.git/commitdiff/e78a830d3f7abbf2eebcd6e571bfda51138bc87f



More information about the pld-cvs-commit mailing list