Compare commits

...

285 Commits

Author SHA1 Message Date
Tom Callaway cf5f05d4a4 4.0.3 2020-10-13 11:31:44 -04:00
Tom Callaway 5496d01312 bump release to match changelog from previous commit 2020-09-08 12:32:41 -04:00
Tom Callaway ba64e1993e make cups a Recommends, update syslapack conditional to include f31 2020-09-08 12:30:48 -04:00
Iñaki Úcar 9344422d47 https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager 2020-08-07 20:57:25 +02:00
Fedora Release Engineering 07d744324a - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 10:37:31 +00:00
Tom Callaway 694c9856f0 add additional paths to find libjvm.so (OpenJDK 11+) 2020-07-15 18:03:29 -04:00
Tom Callaway e1d61d8c08 4.0.2 2020-06-23 10:56:37 -04:00
Tom Callaway c157b16a55 4.0.1 2020-06-16 11:26:39 -04:00
Pete Walter 92d90f3656 Rebuild for ICU 67 2020-06-15 13:37:37 +01:00
Tom Callaway 8a1584b8c4 apply upstream fix for ppc64 infinite loop 2020-06-02 14:50:27 -04:00
Tom Callaway ac049188bd 4.0.0 2020-05-29 12:18:38 -04:00
Tom Callaway 0a70cd5f99 3.6.3, conditionalize lapack changes from previous commits to Fedora 32+ and EPEL-8 2020-03-02 09:39:30 -05:00
Tom Callaway 2d600e0a99 fix openblas conditionals, openblas has wider arch support everywhere except el7 2020-02-18 17:10:52 -05:00
Tom Callaway 85586e3bcf Merge branch 'master' into epel8 2020-02-18 16:29:37 -05:00
Tom Callaway 901e950465 use openblas for lapack/blas, whereever possible (all fedora, el8) 2020-02-18 13:24:21 -05:00
Fedora Release Engineering a1d6c05f34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 09:43:55 +00:00
Tom Callaway 0468c23822 adjust ppc64 patch to reflect upstream fix 2019-12-18 09:08:17 -05:00
Tom Callaway 42bfa27a28 Merge branch 'master' into epel8 2019-12-12 15:06:36 -05:00
Tom Callaway 86fb95abbe disable tests on all non-intel arches, fix powerpc64 2019-12-12 14:24:05 -05:00
Tom Callaway 4ed4310296 Merge branch 'master' into epel8 2019-12-12 12:06:31 -05:00
Tom Callaway 063aebf861 update to 3.6.2 2019-12-12 12:03:39 -05:00
Pete Walter 0a1dce5e75 Rebuild for ICU 65 2019-11-01 16:01:43 +00:00
Tom Callaway d5f66af54f do not need to conditionalize lua magic provides generation 2019-08-30 07:52:21 -04:00
Tom Callaway 97642563e2 minor fix 2019-08-30 07:49:38 -04:00
Tom Callaway 56020a5336 conditionalize macro usage so that it only happens on Fedora 31+ and EPEL-8 2019-08-30 07:47:29 -04:00
Tom Callaway 0cd0e7c5c8 Merge branch 'master' into epel8 2019-08-16 12:28:43 -04:00
Tom Callaway 02916c034f 3.6.1 2019-08-16 11:19:34 -04:00
Gwyn Ciesla ba5b61083c "Adding package.cfg file" 2019-08-15 15:17:08 -05:00
Elliott Sales de Andrade 24f038ef09 Remove unused and nonfunctional macros and script. 2019-08-11 02:10:52 -04:00
Fedora Release Engineering 7ec3f35afe - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 16:08:51 +00:00
Elliott Sales de Andrade 290075c5e9 Add R()-namespaced Provides for builtin libraries. 2019-07-21 23:50:18 -04:00
Elliott Sales de Andrade 574e9df2fb Add the automatic dependency generator. 2019-07-21 23:49:14 -04:00
Tom Callaway 3800a7b74d use devtoolset toolchain to compile on el6/el7 for C++11 support 2019-06-14 09:32:06 -04:00
Tom Callaway a044a8c82c 3.6.0++ 2019-05-30 09:57:42 -04:00
Tom Callaway f763ce3736 3.6.0 2019-05-30 09:25:36 -04:00
Tom Callaway e47ead3d3d 3.5.3 2019-03-11 13:18:43 -04:00
Igor Gnatenko d282865eb3 Rebuild for readline 8.0 2019-02-17 09:30:53 +01:00
Fedora Release Engineering 965eeebf52 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 11:51:35 +00:00
Igor Gnatenko 8c56758224 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:44 +01:00
Igor Gnatenko 08e356d401
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 19:40:15 +01:00
Pete Walter fa246e33b9 Rebuild for ICU 63 2019-01-23 22:12:10 +00:00
Igor Gnatenko 6da0a1c375
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:49 +01:00
Tom Callaway 95242cc027 handle pcre2 use/detection 2019-01-08 10:54:51 -05:00
Tom Callaway fe4112801a 3.5.2 2019-01-07 16:19:13 -05:00
Tom Callaway 1c85207d57 enable memory profiling 2018-12-07 16:46:08 -05:00
Tom Callaway b1642c6f86 use absolute path in symlink for latex dir (bz1594102) 2018-12-07 15:58:13 -05:00
Tom Callaway 5ef3252c3f 3.5.1 2018-09-10 10:33:08 -04:00
Fedora Release Engineering 7b8d8f53b9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 19:15:09 +00:00
Pete Walter 87ea299ce2 Rebuild for ICU 62 2018-07-10 22:00:01 +01:00
Jason Tibbitts 4c0f19319c Remove needless use of %defattr 2018-07-10 01:24:14 -05:00
Tom Callaway 82bfa96fd5 only own /usr/share/texmf/tex/latex/R ... not /usr/share/texmf 2018-06-05 11:16:44 -04:00
Tom Callaway 5ecc806256 do not run javareconf on el6/ppc64 EVEN in the java subpackages 2018-05-18 22:35:31 -04:00
Tom Callaway f545d3ff8f Merge branch 'master' into el6 2018-05-18 16:54:55 -04:00
Tom Callaway 50017ab031 close if 2018-05-18 16:54:36 -04:00
Tom Callaway 688cb060e9 do not run javareconf on el6/ppc64 2018-05-18 16:54:09 -04:00
Tom Callaway 39d2e0196a Merge branch 'master' into el6 2018-05-14 14:11:15 -04:00
Tom Callaway d43a21592c disable tests on arm, disable info builds on rhel 6 2018-05-14 14:10:26 -04:00
Tom Callaway 8fb85e9ec0 Merge branch 'master' into el6 2018-05-14 12:54:22 -04:00
Tom Callaway dcb29cbf18 Merge branch 'master' into el6 2018-03-28 13:10:33 -04:00
Tom Callaway 4b2e1d3bcc Merge branch 'master' into el6 2017-11-30 16:05:32 -05:00
Tom Callaway 76905aa185 Merge branch 'master' into el6 2017-10-30 09:10:10 -04:00
Tom Callaway 09dfc2f363 Merge branch 'master' into el6 2017-10-27 12:44:01 -04:00
Tom Callaway 0eafbf5d94 Merge branch 'el6' of ssh://pkgs.fedoraproject.org/rpms/R into el6 2017-06-30 11:30:38 -04:00
Tom Callaway 28b40e2023 Merge branch 'master' into el6 2017-06-30 11:30:28 -04:00
José Matos b00c20f958 Merge branch 'master' into el6 2017-05-13 00:17:02 +01:00
Tom Callaway 08e989e18d Merge branch 'master' into el6 2017-04-22 12:15:37 -07:00
Tom Callaway dd4a8a8dad Merge branch 'el5' into el6 2017-03-08 11:11:47 -08:00
Tom Callaway 2141d05560 fix merge 2017-03-08 10:51:56 -08:00
Tom Callaway da330de90e merge fix 2016-12-15 09:46:59 -05:00
Tom Callaway 433f619b3b merge fix 2016-12-15 09:45:37 -05:00
Tom Callaway 99580ae69a fix provides, fix included versions 2016-10-31 15:56:02 -04:00
Tom Callaway ecab635435 fix provides, fix included versions 2016-10-31 15:55:47 -04:00
Tom Callaway 0a2d99f9a7 disable readline support for el5 2016-10-31 13:49:53 -04:00
Tom Callaway 84208267f8 merge fix 2016-10-31 10:57:29 -04:00
Tom Callaway 5620684dde merge fix 2016-10-31 10:56:41 -04:00
Tom Callaway 386d1c819a Merge branch 'master' into el5 2016-08-29 10:33:28 -04:00
Tom Callaway 8265ec36c8 Merge branch 'master' into el6 2016-08-08 14:01:50 -04:00
Tom Callaway 61a7f48bb5 Merge branch 'master' into el5 2016-08-08 14:01:33 -04:00
Tom Callaway 2bf67fd29d Merge branch 'master' into el6 2016-07-06 10:01:57 -04:00
Tom Callaway 9a07360ca7 Merge branch 'master' into el5 2016-07-06 10:00:31 -04:00
Tom Callaway d6ca269449 Merge branch 'master' into el6 2016-06-11 15:31:17 -04:00
Tom Callaway 979102c99e Merge branch 'master' into el5 2016-06-11 15:30:48 -04:00
Tom Callaway ce433395bb Merge branch 'master' into el6 2016-06-11 15:02:14 -04:00
Tom Callaway 1b7c545c83 Merge branch 'master' into el5 2016-06-11 15:01:56 -04:00
Tom Callaway e513a156ad Merge branch 'master' into el6 2016-06-09 11:15:14 -04:00
Tom Callaway 3c7e9186b6 Merge branch 'master' into el5 2016-06-09 11:13:06 -04:00
Tom Callaway 56a301c58d Merge branch 'master' into el6 2016-06-09 10:29:29 -04:00
Tom Callaway 04c5e6732a Merge branch 'master' into el5 2016-06-09 10:29:03 -04:00
Tom Callaway afa36f0075 Merge branch 'master' into el5 2016-06-07 11:47:21 -04:00
Tom Callaway 85014d24f1 Merge branch 'master' into el6 2016-06-07 11:46:49 -04:00
Tom Callaway f38c233891 Merge branch 'master' into el5 2016-06-06 09:53:30 -04:00
Tom Callaway f741383769 erge branch 'master' into el6 2016-06-06 09:51:56 -04:00
Tom Callaway 43d07dca72 Merge branch 'master' into el6 2016-06-01 14:26:42 -04:00
Tom Callaway 3a6e7679d0 Merge branch 'master' into el5 2016-06-01 14:26:06 -04:00
Tom Callaway 053687965b sources 2016-05-13 15:33:42 -04:00
Tom Callaway 7f7c911c3d Merge branch 'master' into el6 2016-05-13 15:33:17 -04:00
Tom Callaway 12667d763e move files below everything except changelog 2016-05-13 14:44:34 -04:00
Tom Callaway 3998e87b55 missing BR for full curl build 2016-05-13 12:35:06 -04:00
Tom Callaway edc36d2c71 enable ssl, disable nss (too old) 2016-05-13 11:54:50 -04:00
Tom Callaway 4982471e77 extra sources 2016-05-13 11:44:51 -04:00
Tom Callaway 6848961498 Merge branch 'master' into el5 2016-05-13 11:39:54 -04:00
Tom Callaway 7a47c61741 Merge branch 'master' into el6 2016-05-10 12:54:09 -04:00
Tom Callaway 8a1eb3240d Merge branch 'master' into el5 2016-05-10 12:53:52 -04:00
Tom Callaway d283d9f317 fix el6 ppc64 build 2016-05-10 12:50:41 -04:00
Tom Callaway e6d36024a0 fix el6 ppc64 build 2016-05-10 12:50:06 -04:00
Tom Callaway 0d37da678c Merge branch 'master' into el5 2016-05-10 12:17:53 -04:00
Tom Callaway eb4e799dbd Merge branch 'master' into el6 2016-05-10 12:17:19 -04:00
Tom Callaway c0849c6e09 Merge branch 'master' into el6 2016-01-26 17:01:44 -05:00
Tom Callaway 916063b3b1 Merge branch 'master' into el5 2016-01-26 17:01:00 -05:00
Tom Callaway cc92bae065 Merge branch 'master' into el5 2015-12-11 20:59:04 -05:00
Tom Callaway 1520827a04 Merge branch 'master' into el6 2015-12-11 20:58:49 -05:00
Tom Callaway 13349fe885 Merge branch 'master' into el5 2015-10-23 11:14:57 -04:00
Tom Callaway 5db1b11da5 Merge branch 'master' into el6 2015-10-23 11:14:01 -04:00
Tom Callaway 818917914a Merge branch 'master' into el5 2015-08-14 15:34:20 -04:00
Tom Callaway dad250ea82 Merge branch 'master' into el6 2015-08-14 15:22:16 -04:00
Tom Callaway 6fde1a0dcd Merge branch 'master' into el6 2015-07-10 12:13:10 -04:00
Tom Callaway f4e5cfe294 remove leading spaces 2015-07-10 12:12:24 -04:00
Tom Callaway cae7911500 Merge branch 'master' into el5 2015-07-10 12:11:21 -04:00
Tom Callaway 024eb041c4 merge 2015-06-18 13:32:59 -04:00
Tom Callaway e1b39d0e4a merge 2015-06-18 13:32:12 -04:00
Tom Callaway d0887285da merge fix 2015-06-18 13:28:07 -04:00
Tom Callaway ee29b1a75e conditionalize texi2any for systems that do not have it 2015-04-30 15:32:17 -04:00
Tom Callaway 7a08bc08da conditionalize texi2any for systems that do not have it 2015-04-30 15:09:07 -04:00
Tom Callaway dcabdd3746 conditionalize texi2any for systems that do not have it 2015-04-30 14:45:31 -04:00
Tom Callaway 0f2409b1c2 3.2.0 2015-04-30 13:48:53 -04:00
Tom Callaway f6c4d07690 3.2.0 2015-04-30 13:48:28 -04:00
Tom Callaway 9db92e9942 3.1.3 2015-03-09 17:33:33 -04:00
Tom Callaway a21c791561 3.1.3 2015-03-09 17:33:21 -04:00
Tom Callaway b898a50cd2 3.1.2 2014-10-31 13:10:54 -04:00
Tom Callaway 434fe794ef 3.1.2 2014-10-31 13:10:21 -04:00
Tom Callaway e63e093f79 fix java Requires 2014-10-09 09:35:57 -04:00
Tom Callaway 1d62580313 fix java Requires 2014-10-09 09:35:26 -04:00
Tom Callaway 1b56f41a52 add Requires: unzip to R-core 2014-08-08 14:49:09 +02:00
Tom Callaway e67a387969 add Requires: unzip to R-core 2014-08-08 14:48:46 +02:00
Tom Callaway 89d98760d9 add Requires: make to R-core 2014-08-08 13:15:43 +02:00
Tom Callaway cde20102a3 add Requires: make to R-core 2014-08-08 12:26:05 +02:00
Tom Callaway 84e3cbc65e 3.1.1 2014-07-16 13:03:40 -04:00
Tom Callaway e6dbcb894a 3.1.1 2014-07-16 13:03:10 -04:00
Tom Callaway 051696abff add blas-devel && lapack-devel to R-core-devel and R-devel requires 2014-05-07 13:23:43 -04:00
Tom Callaway 58d7c5a2b5 add blas-devel && lapack-devel to R-core-devel and R-devel requires 2014-05-07 13:23:19 -04:00
Tom Callaway 48f1a8bef9 unified spec 2014-04-29 21:30:21 -04:00
Tom Callaway dd1131e2ba unified spec 2014-04-29 21:30:02 -04:00
Tom Callaway 7883fbd6a4 should work everywhere now 2014-04-29 20:57:04 -04:00
Tom Callaway 4feec9d3a7 should work everywhere now 2014-04-29 20:56:30 -04:00
Tom Callaway d84fbc68e0 FIXES 2014-04-29 15:42:21 -04:00
Tom Callaway a880d4def6 mk docdir before using 2014-04-29 15:01:32 -04:00
Tom Callaway 42b83eface mk docdir before using 2014-04-29 14:59:55 -04:00
Tom Callaway c93c432678 conditionalize lto 2014-04-29 13:57:14 -04:00
Tom Callaway d9a505b01d conditionalize lto 2014-04-29 13:48:05 -04:00
Tom Callaway 42dc4ebbe9 conditionalize optflag changes 2014-04-29 13:30:55 -04:00
Tom Callaway 02172dced2 conditionalize optflag changes 2014-04-29 13:29:25 -04:00
Tom Callaway b2423e500b epel fixes 2014-04-29 13:20:09 -04:00
Tom Callaway b69868db4e epel fixes 2014-04-29 13:18:06 -04:00
Tom Callaway 07fac606e4 3.1.0 2014-04-29 10:57:24 -04:00
Tom Callaway fdfbbebb14 3.1.0 2014-04-29 10:55:33 -04:00
Tom Callaway 62458ff110 disable features not found on ancient stuff 2014-01-24 11:10:46 -05:00
Tom Callaway c9b1f7ff53 disable features not found on ppc 2014-01-24 11:00:11 -05:00
Tom Callaway 681035265f sync to rawhide 2014-01-24 10:42:51 -05:00
Tom Callaway 17f4b54804 el5 is old and crufty. 2013-10-16 01:23:20 +01:00
Tom Callaway 5b9b77d2d3 3.0.2 2013-10-16 00:56:30 +01:00
Tom Callaway ee48b1de3a 3.0.2 2013-10-16 00:50:38 +01:00
Tom Callaway 7706187bdf conditionalize hack 2013-05-18 15:24:32 -04:00
Tom Callaway 696fc13b8a 3.0.1 2013-05-17 17:17:39 -04:00
Tom Callaway bfd2a54760 3.0.1 2013-05-17 17:17:26 -04:00
Tom Callaway 90242f18c5 R3 2013-04-17 21:20:12 -04:00
Tom Callaway e832ac1d86 R3 2013-04-17 21:16:15 -04:00
Tom Callaway 2ab725992f 2.15.2 2012-10-29 14:26:33 -04:00
Tom Callaway d015e844bb 2.15.2 2012-10-29 14:23:19 -04:00
Tom Callaway 9155d7557e 2.15.1 2012-07-02 12:54:07 -04:00
Tom Callaway 712378546f 2.15.1 2012-07-02 12:53:48 -04:00
Tom Callaway 4792f3fdf6 2.15.0 2012-03-31 13:54:20 -04:00
Tom Callaway 30478c7a38 2.15.0 2012-03-31 13:53:40 -04:00
Tom Callaway 1a7a2b9a2c 2.14.1 2012-01-04 15:26:51 -05:00
Tom Callaway bbe923fd0f 2.14.1 2012-01-04 15:26:35 -05:00
Tom "spot" Callaway d3497415e0 no inconsolata for rhel 2011-11-08 14:02:26 -05:00
Tom "spot" Callaway 6465c32666 no inconsolata for rhel 2011-11-08 14:01:52 -05:00
Tom "spot" Callaway 6d196a5ae3 2.14.0 2011-11-07 13:12:37 -05:00
Tom "spot" Callaway 58d98de41a 2.14.0 2011-11-07 13:12:24 -05:00
Tom "spot" Callaway 19ba41162d fix scriptlets 2011-08-09 12:08:52 -04:00
Tom "spot" Callaway 72144684ae fix scriptlets 2011-08-09 12:05:33 -04:00
Michel Alexandre Salim 2eee2b7b5a Symlink LaTeX files, and rehash on package change when possible (# 630835) 2011-08-09 16:41:34 +02:00
Michel Alexandre Salim 01b8d0ea20 Symlink LaTeX files, and rehash on package change when possible (# 630835) 2011-08-09 16:40:21 +02:00
Tom "spot" Callaway 33b4de2cb4 BR and R less, so it is used as the default help parser 2011-08-08 13:02:39 -04:00
Tom "spot" Callaway 2b51a16f4d BR and R less, so it is used as the default help parser 2011-08-08 13:02:21 -04:00
Tom "spot" Callaway 059a4b71b2 2.13.1 2011-07-11 15:43:56 -04:00
Tom "spot" Callaway f6f0c9cab8 2.13.1 2011-07-11 15:43:33 -04:00
Tom "spot" Callaway a9e3ad5c40 minor spec fix 2011-04-15 10:21:32 -04:00
Tom "spot" Callaway 7aa07b4a7d 2.13.0 2011-04-14 13:50:57 -04:00
Tom "spot" Callaway a129f0ab4a 2.13.0 2011-04-14 13:49:56 -04:00
Tom "spot" Callaway 553f25a694 2.12.2 2011-02-27 10:21:03 -08:00
Tom "spot" Callaway c19e49c079 2.12.2 2011-02-27 10:20:17 -08:00
Tom "spot" Callaway 4d1f6b77fe 2.12.1 2010-12-20 09:46:13 -05:00
Tom "spot" Callaway 4b917060b5 2.12.1 2010-12-20 09:46:09 -05:00
Tom "spot" Callaway 6de5cfaecb fix NEWS.pdf ownership 2010-11-02 16:21:07 -04:00
Tom "spot" Callaway a49e005e09 2.12.0 2010-11-02 16:06:27 -04:00
Tom "spot" Callaway 75e2e75a7b 2.12.0 2010-11-02 11:52:17 -04:00
Tom "spot" Callaway c95572151f 2.12.0 2010-11-02 11:51:56 -04:00
Fedora Release Engineering 410b32003f dist-git conversion 2010-07-28 09:15:24 +00:00
Fedora Release Engineering 21c9659674 dist-git conversion 2010-07-28 09:15:14 +00:00
Tom Callaway 59b20e8491 fix stupid omission 2010-06-30 18:23:18 +00:00
Tom Callaway dbc11a218b el6 merge 2010-06-30 18:06:42 +00:00
Tom Callaway 8703c19fdd fix static lib bug, overload R_LIBS_SITE instead of R_LIBS 2010-06-30 18:05:47 +00:00
Orion Poplawski 7120821ee5 - update to 2.11.1 2010-06-21 17:45:26 +00:00
Tom Callaway 5dd070567c 2.11.1 2010-06-01 18:57:14 +00:00
Dennis Gilmore e395fff4c4 Initialize branch EL-6 for R 2010-05-08 01:41:46 +00:00
Tom Callaway cadbf8dfc2 2.11.0 2010-04-22 21:56:31 +00:00
Tom Callaway 7d8b3141e0 2.11.0 2010-04-22 21:56:30 +00:00
Tom Callaway 6a74d204a0 2.10.1 2009-12-22 23:29:51 +00:00
Tom Callaway 618164e38f 2.10.1 2009-12-22 23:29:51 +00:00
Bill Nottingham cb9e622842 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 00:21:01 +00:00
Bill Nottingham 3d5b23baf8 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 00:21:01 +00:00
Tom Callaway 8b1195fd8e missed a branch 2009-11-09 03:11:33 +00:00
Tom Callaway 237a73ad27 fix scriptlet noise caused by 2.10.0 search index changes 2009-11-09 03:09:20 +00:00
Tom Callaway 13d73cceb0 fix scriptlet noise caused by 2.10.0 search index changes 2009-11-09 03:09:20 +00:00
Tom Callaway f3bd891464 2.10.0 2009-11-05 04:43:17 +00:00
Tom Callaway 4c4681e11c 2.10.0 2009-11-05 04:43:16 +00:00
Tom Callaway 2584e95bca update to 2.9.2 2009-08-24 19:39:59 +00:00
Tom Callaway 363527ef30 update to 2.9.2 2009-08-24 19:39:58 +00:00
Jesse Keating 4c30ea5bef - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 16:06:36 +00:00
Tom Callaway aecb205f18 dont make the pdfs in rawhide/i586 due to tex bug 2009-07-10 14:29:03 +00:00
Tom Callaway a83a316576 update to 2.9.1, fix versioned Provides 2009-07-09 20:59:55 +00:00
Tom Callaway 0d3e2b8925 update to 2.9.1, fix versioned Provides 2009-07-09 20:59:48 +00:00
Tom Callaway 0653ba4ecd EPEL build fixes 2009-04-29 20:26:23 +00:00
Tom Callaway c1ad31fc54 Provide/Obsolete R-Matrix package 2009-04-20 14:45:15 +00:00
Tom Callaway 80a21942ca 2.9.0 2009-04-17 20:12:43 +00:00
Tom Callaway f0519a4a49 2.9.0 2009-04-17 20:12:42 +00:00
Tom Callaway 59e07a1dba drop profile.d scripts, minimize hard coded Requires 2009-04-07 18:07:05 +00:00
Tom Callaway ea5471d7ce fix profile scripts to handle case where R_HOME is already defined 2009-03-28 16:42:48 +00:00
Tom Callaway c8c2d280a8 bump to 7, forgot to cvs add scripts 2009-03-25 01:59:42 +00:00
Tom Callaway 47692b3b67 add RHOME shell helper scripts, rpmlint cleanups 2009-03-25 01:55:47 +00:00
Tom Callaway 4ea483f392 enable R-java, R-java-devel dummy packages 2009-03-23 22:38:12 +00:00
Tom Callaway 0207d3fe52 fix EPEL R-make-search-index.sh, improve java scriptlet 2009-03-04 20:50:11 +00:00
Tom Callaway c025d0732f fix EPEL R-make-search-index.sh, improve java scriptlet 2009-03-04 20:50:11 +00:00
Jesse Keating ef5b8412cf - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-23 22:44:31 +00:00
Tom Callaway dceed37d30 Add pango-devel to BuildRequires, fix versioned dependency on libRmath 2009-01-05 15:11:51 +00:00
Tom Callaway a5e1a9d698 Add pango-devel to BuildRequires, fix versioned dependency on libRmath 2009-01-05 15:11:49 +00:00
Tom Callaway 4c6489b85e 2.8.1 2008-12-22 16:27:50 +00:00
Tom Callaway b78d665c77 2.8.1 2008-12-22 16:27:48 +00:00
Tom Callaway 589d7e0873 enable libtiff interface 2008-10-26 20:15:26 +00:00
Tom Callaway b285438f3a enable libtiff interface 2008-10-26 20:15:25 +00:00
Tom Callaway 72b771423e push 2.8.0 to all branches 2008-10-26 20:11:25 +00:00
Tom Callaway c6b2c8e7c5 R 2.8.0 2008-10-26 19:59:58 +00:00
Tom Callaway 98300c8333 fix sh compile, bz 464055 2008-10-16 20:45:20 +00:00
Tom Callaway 0672b69fcb update everyone to 2.7.2, fix security bug 460658 2008-08-29 15:53:54 +00:00
Tom Callaway f427384754 update everyone to 2.7.2, fix security bug 460658 2008-08-29 15:53:53 +00:00
Tom Callaway d6615bafd5 update to 2.7.1 2008-07-07 20:56:13 +00:00
Tom Callaway bc7734f61c build cairo backend 2008-05-28 21:07:13 +00:00
Tom Callaway 52ac3e0efb fix all the broken links 2008-05-21 19:26:30 +00:00
Tom Callaway 9604248e93 fix poorly constructed file paths in html/packages.html (bz 442727) 2008-05-21 15:31:07 +00:00
Tom Callaway 4ac1a69ba2 R 2.7.0 everywhere 2008-05-13 16:55:43 +00:00
Tom Callaway 9d6fa35501 . 2008-04-29 20:09:52 +00:00
Tom Callaway bf8154d26e 2.6.2, take package cleanups to all active releases 2008-02-08 19:27:58 +00:00
Tom Callaway 994f9f7125 multilib handling, update indices in the right place 2008-01-31 19:48:25 +00:00
Tom Callaway c2f0695c1b Bring EL-5 current 2008-01-11 22:10:52 +00:00
Tom Callaway bc7b262790 Move INSTALL back into main package. 2008-01-07 15:25:50 +00:00
Tom Callaway c38221dbed commit 99% of Martyn's spec changes 2008-01-03 15:00:01 +00:00
Tom Callaway 5344861baa 2.6.1 2007-11-26 21:10:35 +00:00
Tom Callaway a2830f38cb Fix missing perl requires 2007-10-30 13:29:02 +00:00
Tom Callaway 22f036a766 fix 2007-10-29 16:50:59 +00:00
Tom Callaway e1ff85f0e8 forgot one 2007-10-29 16:48:07 +00:00
Tom Callaway 53c5674e2f forgot bugzilla 343061 2007-10-29 16:42:30 +00:00
Tom Callaway 402fbbf444 Fix outstanding R bugs 2007-10-29 15:51:14 +00:00
Tom Callaway 387ab92fbe R 2.6.0 2007-10-04 19:43:37 +00:00
Tom Callaway 13d6a0ee90 Rebuild for ppc32, license tags fixed 2007-08-26 22:51:42 +00:00
Tom Callaway 25e0ecad40 Rebuild for ppc32, license tags fixed 2007-08-26 22:51:32 +00:00
Tom Callaway 05ba0c124d Add scripts and macros to make R packaging easier. 2007-07-06 22:07:47 +00:00
Tom Callaway 251e22af0a Add scripts and macros to make R packaging easier. 2007-07-06 22:07:28 +00:00
Tom Callaway dab0e1f93c Fix EPEL builds. 2007-07-03 12:38:56 +00:00
Tom Callaway 5226c2c1e2 R 2.5.1 2007-07-03 02:05:07 +00:00
Tom Callaway a4dc7f76f9 R 2.5.1 2007-07-03 02:04:50 +00:00
Tom Callaway 0a9c0de78a Initialize branch EL-5 for R 2007-07-02 19:40:15 +00:00
Tom Callaway b814f2a7d7 Resolve bugzilla 241374. 2007-05-25 15:56:28 +00:00
Tom Callaway 181b874579 Fixes from Martyn Plummer 2007-04-30 12:48:57 +00:00
Tom Callaway ebd23fce88 Fixes from Martyn Plummer 2007-04-30 12:48:52 +00:00
Tom Callaway 188fbfbd5e 2.5.0 2007-04-25 21:32:24 +00:00
Tom Callaway 259a3520cb 2.5.0 2007-04-25 21:32:19 +00:00
Tom Callaway a807881f4b - (FC7+) get rid of termcap related requires, replace with ncurses
- (FC7+) use java-1.5.0-gcj instead of old java-1.4.2
- add /usr/share/R/library as a valid R_LIBS directory for noarch bits
2007-03-17 15:54:35 +00:00
Tom Callaway c84c10c82b - (FC7+) get rid of termcap related requires, replace with ncurses
- (FC7+) use java-1.5.0-gcj instead of old java-1.4.2
- add /usr/share/R/library as a valid R_LIBS directory for noarch bits
2007-03-17 15:54:32 +00:00
Jef Spaleta e7a7eaa4bf - rebuild for reverted tcl/tk 2007-02-25 20:00:07 +00:00
Tom Callaway b49a5a25ba Rebuild in devel for new tcl/tk. 2007-02-02 18:27:29 +00:00
Tom Callaway a2a1845707 Bump to 2.4.1 2006-12-20 00:47:34 +00:00
Tom Callaway ac2dd2b6ae Bump to 2.4.1 2006-12-20 00:47:34 +00:00
Tom Callaway c2d0d7e77b Patch from upstream 2006-11-04 06:19:59 +00:00
Tom Callaway 11948727f2 Patch from upstream 2006-11-04 06:19:58 +00:00
Tom Callaway 4bffca9287 Update to current patched level to fix buffer overflow condition. 2006-11-04 06:16:11 +00:00
15 changed files with 10804 additions and 184 deletions

49
.gitignore vendored
View File

@ -1,28 +1,8 @@
R-2.11.1.tar.gz
/R-2.12.0.tar.gz
/R-2.12.1.tar.gz
/R-2.12.2.tar.gz
/R-2.13.0.tar.gz
/R-2.13.1.tar.gz
/R-2.13.2.tar.gz
/R-2.14.0.tar.gz
/R-2.14.1.tar.gz
/R-2.15.0.tar.gz
/R-2.15.1.tar.gz
/R-2.15.2.tar.gz
/R-3.0.0.tar.gz
/R-3.0.1.tar.gz
/R-3.0.2.tar.gz
/R-3.0.3.tar.gz
/R-3.1.1.tar.gz
/R-3.1.2.tar.gz
/R-3.1.3.tar.gz
/R-3.2.0.tar.gz
/R-3.2.1.tar.gz
/R-3.2.2.tar.gz
/R-3.2.3.tar.gz
/R-3.2.4-revised.tar.gz
/R-3.3.0.tar.gz
/xz-5.2.2.tar.bz2
/zlib-1.2.8.tar.gz
/bzip2-1.0.6.tar.gz
/curl-7.48.0.tar.bz2
/pcre-8.38.tar.bz2
/R-3.3.1.tar.gz
/R-3.3.2.tar.gz
/R-3.3.3.tar.gz
@ -42,3 +22,22 @@ R-2.11.1.tar.gz
/curl-7.59.0.tar.bz2
/xz-5.2.4.tar.bz2
/R-3.5.0.tar.gz
/R-3.5.1.tar.gz
/curl-7.61.1.tar.bz2
/curl-7.63.0.tar.bz2
/R-3.5.2.tar.gz
/R-3.5.3.tar.gz
/R-3.6.0.tar.gz
/R-3.6.1.tar.gz
/R-3.6.2.tar.gz
/bzip2-1.0.8.tar.gz
/pcre-8.43.tar.bz2
/curl-7.67.0.tar.bz2
/R-3.6.3.tar.gz
/R-4.0.0.tar.gz
/R-4.0.1.tar.gz
/R-4.0.2.tar.gz
/xz-5.2.5.tar.bz2
/R-4.0.3.tar.gz
/pcre-8.44.tar.bz2
/curl-7.72.0.tar.bz2

File diff suppressed because it is too large Load Diff

149
R-2.5.0-pkgconfig.patch Normal file
View File

@ -0,0 +1,149 @@
diff -uNr R-2.5.0/src/nmath/standalone/Makefile.in R-2.5.0-patched/src/nmath/standalone/Makefile.in
--- R-2.5.0/src/nmath/standalone/Makefile.in 2007-03-26 18:42:08.000000000 +0200
+++ R-2.5.0-patched/src/nmath/standalone/Makefile.in 2007-04-29 14:50:55.000000000 +0200
@@ -67,7 +67,7 @@
libRmath_la_LDFLAGS =
CLEANFILES = Makedeps *.d *.o *.lo test $(SOURCES)
-DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
+DISTCLEANFILES = Makefile libRmath.pc $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
DEFS = -DHAVE_CONFIG_H -DMATHLIB_STANDALONE
ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) -I$(srcdir)/.. $(CPPFLAGS) $(DEFS)
@@ -78,7 +78,7 @@
@r_cc_lo_rules_frag@
-all: Makefile inc static shared
+all: Makefile inc static shared build-pc
inc:
(cd ../../include; $(MAKE) Rmath.h)
@@ -100,6 +100,11 @@
shared: Makefile ../../include/Rconfig.h Copy Makedeps
@$(MAKE) $(Rexeclibdir_LTLIBRARIES)
+build-pc:
+ @$(SED) -e "s:@libdir:$(libdir):" -e "s:@includedir:$(includedir):" \
+ -e 's/@VERSION/$(VERSION)/' -e 's/@libm/$(LIBM)/' $(srcdir)/libRmath.pc.in \
+ > "libRmath.pc"
+
../../include/Rconfig.h:
(cd $(@D); $(MAKE) $(@F))
@@ -163,9 +168,7 @@
install-pc:
@$(MKINSTALLDIRS) "$(libdir)/pkgconfig"
- @$(SED) -e "s:@libdir:$(libdir):" -e "s:@includedir:$(includedir):" \
- -e 's/@VERSION/$(VERSION)/' -e 's/@libm/$(LIBM)/' $(srcdir)/libRmath.pc.in \
- > "$(libdir)/pkgconfig/libRmath.pc"
+ @$(INSTALL_DATA) libRmath.pc "$(libdir)/pkgconfig/libRmath.pc"
uninstall:
@rm -f $(includedir)/Rmath.h $(libdir)/$(libRmath_la) $(libdir)/libRmath.a "$(libdir)/pkgconfig/libRmath.pc"
diff -uNr R-2.5.0/src/scripts/Makefile.in R-2.5.0-patched/src/scripts/Makefile.in
--- R-2.5.0/src/scripts/Makefile.in 2007-03-26 18:42:09.000000000 +0200
+++ R-2.5.0-patched/src/scripts/Makefile.in 2007-04-29 14:50:14.000000000 +0200
@@ -23,17 +23,22 @@
DISTFILES = Makefile.in Makefile.win $(SCRIPTS_S) $(SCRIPTS_B_IN) R.sh.in
CLEANFILES =
-DISTCLEANFILES = Makefile R.fe R.sh $(SCRIPTS_B)
+DISTCLEANFILES = Makefile R.fe R.fe2 R.sh $(SCRIPTS_B)
all: Makefile R
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
-R: $(SCRIPTS_B) R.fe
+R: $(SCRIPTS_B) R.fe R.fe2
@$(MAKE) rhome=$(top_builddir) install-cmds
@$(INSTALL_SCRIPT) R.fe $(top_builddir)/bin/R
+R.fe2:
+ @(d=`echo '$(rhome)' | sed 's,/,\\\/,g';`; \
+ sed -e "s/\\(R_HOME_DIR=\\).*/\\1$${d}/;" -e "s+\\(R_SHARE_DIR=\\).*+\\1$(rsharedir)+;" -e "s+\\(R_INCLUDE_DIR=\\).*+\\1$(rincludedir)+;" -e "s+\\(R_DOC_DIR=\\).*+\\1$(rdocdir)+;"\
+ < R.fe > $@)
+
## <NOTE>
## Seems we need target rules for creating FOO from FOO.in: pattern
## rules ('%:%.in') are not portable, and some versions of Make do not
@@ -95,10 +100,8 @@
install: installdirs install-cmds
@rm -f $(bindir)/R
- @(d=`echo '$(rhome)' | sed 's,/,\\\/,g';`; \
- sed -e "s/\\(R_HOME_DIR=\\).*/\\1$${d}/;" -e "s+\\(R_SHARE_DIR=\\).*+\\1$(rsharedir)+;" -e "s+\\(R_INCLUDE_DIR=\\).*+\\1$(rincludedir)+;" -e "s+\\(R_DOC_DIR=\\).*+\\1$(rdocdir)+;"\
- < R.fe > "$(Rexecbindir)/R")
- @$(INSTALL_SCRIPT) "$(Rexecbindir)/R" "$(bindir)/R"
+ @$(INSTALL_SCRIPT) R.fe2 "$(Rexecbindir)/R"
+ @$(INSTALL_SCRIPT) R.fe2 "$(bindir)/R"
@chmod 755 "$(bindir)/R" "$(Rexecbindir)/R"
## why of all the scriots does this alone chmod just one copy?
installdirs:
diff -uNr R-2.5.0/src/unix/Makefile.in R-2.5.0-patched/src/unix/Makefile.in
--- R-2.5.0/src/unix/Makefile.in 2007-03-26 18:41:33.000000000 +0200
+++ R-2.5.0-patched/src/unix/Makefile.in 2007-04-29 14:51:55.000000000 +0200
@@ -26,7 +26,7 @@
@WANT_R_SHLIB_TRUE@ALL_CFLAGS = $(ALL_CFLAGS_LO)
-all: Makefile Makedeps R
+all: Makefile Makedeps R
Makefile: $(srcdir)/Makefile.in \
$(top_builddir)/config.status \
@@ -38,11 +38,23 @@
@cat $(DEPENDS) >> Makefile
@touch $@
-R: Makefile
+R: Makefile
@$(MAKE) Makedeps
@WANT_R_SHLIB_FALSE@ @$(MAKE) libunix.a
@WANT_R_SHLIB_TRUE@ @$(MAKE) stamp-lo
+ @$(MAKE) rhome=$(abs_top_builddir) build-Rscript
@$(MAKE) rhome=$(abs_top_builddir) install-Rscript
+ @$(MAKE) build-Rscript
+ @$(MAKE) build-pc
+
+build-pc:
+ @$(SED) -e "s:@rhome:$(rhome):" -e "s:@rincludedir:$(rincludedir):" \
+ -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
+ > "libR.pc"
+
+build-Rscript:
+ $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -DR_HOME='"$(rhome)"' -o Rscript \
+ $(srcdir)/Rscript.c
## is this portable?
../include/Rversion.h:
@@ -60,22 +72,19 @@
clean:
@-rm -rf .libs _libs
@-rm -f Makedeps *.d *.o *.a *.lo *.la stamp-lo
+ @-rm -f Rscript libR.pc
distclean: clean
@-rm -f Makefile
maintainer-clean: distclean
-## we need to build at install time to capture the correct 'rhome'
+## install previously built Rscript
install-Rscript:
- $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -DR_HOME='"$(rhome)"' -o Rscript \
- $(srcdir)/Rscript.c
@$(MKINSTALLDIRS) "$(Rexecbindir)"
@$(INSTALL_PROGRAM) Rscript "$(Rexecbindir)/Rscript"
-## substitute at install time to allow 'prefix' to be overridden
+## install previously built libR.pc
install-pc:
@$(MKINSTALLDIRS) "$(libdir)/pkgconfig"
- @$(SED) -e "s:@rhome:$(rhome):" -e "s:@rincludedir:$(rincludedir):" \
- -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
- > "$(libdir)/pkgconfig/libR.pc"
+ @$(INSTALL_DATA) libR.pc "$(libdir)/pkgconfig/libR.pc"
install: install-Rscript @WANT_R_SHLIB_TRUE@ install-pc
@$(MKINSTALLDIRS) "$(bindir)"
@$(INSTALL_PROGRAM) Rscript "$(bindir)/Rscript"

18
R-2.7.0-bad-path.patch Normal file
View File

@ -0,0 +1,18 @@
Index: src/unix/Makefile.in
===================================================================
--- src/unix/Makefile.in (revision 45534)
+++ src/unix/Makefile.in (revision 45535)
@@ -78,11 +78,11 @@
-e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
> "$(DESTDIR)$(libdir)/pkgconfig/libR.pc"
-install: install-main install-Rscript
+install: install-main
install: @WANT_R_SHLIB_TRUE@ install-pc
install: @WANT_R_STATIC_TRUE@ install-pc
-install-main:
+install-main: install-Rscript
@$(MKINSTALLDIRS) "$(DESTDIR)$(bindir)"
@$(INSTALL_PROGRAM) Rscript "$(DESTDIR)$(bindir)/Rscript"

View File

@ -0,0 +1,27 @@
diff -up R-2.7.1/src/scripts/javareconf.BAD R-2.7.1/src/scripts/javareconf
--- R-2.7.1/src/scripts/javareconf.BAD 2008-08-29 11:04:21.000000000 -0400
+++ R-2.7.1/src/scripts/javareconf 2008-08-29 11:05:34.000000000 -0400
@@ -125,16 +125,17 @@ fi
javac_works='not present'
if test -n "$JAVAC"; then
javac_works='not functional'
- rm -rf /tmp/A.java /tmp/A.class
- echo "public class A { }" > /tmp/A.java
- if test -e /tmp/A.java; then
- if "${JAVAC}" /tmp/A.java >/dev/null; then
- if test -e /tmp/A.class; then
+ tempdir=`mktemp -d`
+ echo "public class A { }" > ${tempdir}/A.java
+ if test -e ${tempdir}/A.java; then
+ if "${JAVAC}" ${tempdir}/A.java >/dev/null; then
+ if test -e ${tempdir}/A.class; then
javac_works=yes
fi
fi
fi
- rm -rf /tmp/A.java /tmp/A.class
+ rm -rf ${tempdir}
+
fi
if test "${javac_works}" = yes; then
echo "Java compiler : ${JAVAC}"

View File

@ -0,0 +1,11 @@
--- R-2.7.2/configure.org 2008-09-25 15:00:20.000000000 +0900
+++ R-2.7.2/configure 2008-09-25 15:00:35.000000000 +0900
@@ -26995,7 +26995,7 @@
;;
# Ignore these flags.
- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
+ -little | -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
;;
-lkernel32)
test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

View File

@ -0,0 +1,26 @@
diff -up R-2.8.0/configure.BAD R-2.8.0/configure
--- R-2.8.0/configure.BAD 2008-10-26 11:51:56.000000000 -0400
+++ R-2.8.0/configure 2008-10-26 11:52:31.000000000 -0400
@@ -44779,6 +44779,11 @@ else
have_bzlib=no
fi
if test "x${have_bzlib}" = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_BZLIB_H 1
+_ACEOF
+
{ echo "$as_me:$LINENO: checking if bzip2 version >= 1.0.5" >&5
echo $ECHO_N "checking if bzip2 version >= 1.0.5... $ECHO_C" >&6; }
if test "${r_cv_have_bzlib+set}" = set; then
diff -up R-2.8.0/m4/R.m4.BAD R-2.8.0/m4/R.m4
--- R-2.8.0/m4/R.m4.BAD 2008-09-21 18:05:06.000000000 -0400
+++ R-2.8.0/m4/R.m4 2008-10-26 11:53:05.000000000 -0400
@@ -3055,6 +3055,7 @@ else
have_bzlib=no
fi
if test "x${have_bzlib}" = xyes; then
+AC_DEFINE(HAVE_BZLIB_H, 1, [Define to 1 if you have bzlib.h.])
AC_CACHE_CHECK([if bzip2 version >= 1.0.5], [r_cv_have_bzlib],
[AC_LANG_PUSH(C)
r_save_LIBS="${LIBS}"

View File

@ -0,0 +1,32 @@
diff -up R-3.0.1/src/library/tools/R/install.R.armfix R-3.0.1/src/library/tools/R/install.R
--- R-3.0.1/src/library/tools/R/install.R.armfix 2013-08-12 13:57:17.956790673 -0400
+++ R-3.0.1/src/library/tools/R/install.R 2013-08-12 13:59:51.230800752 -0400
@@ -108,7 +108,11 @@
SHLIB_EXT <- if (WINDOWS) ".dll" else {
## can we do better?
mconf <- file.path(R.home(), paste0("etc", rarch), "Makeconf")
- sub(".*= ", "", grep("^SHLIB_EXT", readLines(mconf), value = TRUE))
+ if (substr( Sys.info()["machine"], 1, 3) == "arm") { # arm has broken regexps in libc
+ sub(".*= ", "", grep("^SHLIB_EXT", readLines(mconf), value = TRUE), perl = TRUE)
+ } else {
+ sub(".*= ", "", grep("^SHLIB_EXT", readLines(mconf), value = TRUE))
+ }
}
options(warn = 1)
@@ -1627,8 +1631,13 @@
mconf <- readLines(file.path(R.home(),
paste0("etc", Sys.getenv("R_ARCH")),
"Makeconf"))
- SHLIB_EXT <- sub(".*= ", "", grep("^SHLIB_EXT", mconf, value = TRUE))
- SHLIB_LIBADD <- sub(".*= ", "", grep("^SHLIB_LIBADD", mconf, value = TRUE))
+ if (substr( Sys.info()["machine"], 1, 3) == "arm") { # arm has broken regexps in libc
+ SHLIB_EXT <- sub(".*= ", "", grep("^SHLIB_EXT", mconf, value = TRUE), perl = TRUE)
+ SHLIB_LIBADD <- sub(".*= ", "", grep("^SHLIB_LIBADD", mconf, value = TRUE), perl = TRUE)
+ } else {
+ SHLIB_EXT <- sub(".*= ", "", grep("^SHLIB_EXT", mconf, value = TRUE))
+ SHLIB_LIBADD <- sub(".*= ", "", grep("^SHLIB_LIBADD", mconf, value = TRUE))
+ }
MAKE <- Sys.getenv("MAKE")
rarch <- Sys.getenv("R_ARCH")
} else {

View File

@ -0,0 +1,16 @@
diff -up R-3.6.2/src/main/arithmetic.c.ppc64 R-3.6.2/src/main/arithmetic.c
--- R-3.6.2/src/main/arithmetic.c.ppc64 2019-10-18 18:15:02.000000000 -0400
+++ R-3.6.2/src/main/arithmetic.c 2019-12-18 09:05:50.363220122 -0500
@@ -177,7 +177,12 @@ void attribute_hidden InitArithmetic()
}
#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
+# ifdef __PPC64__
+ // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
+# define q_1_eps (1 / LDBL_EPSILON)
+# else
static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
+# endif
#else
static double q_1_eps = 1 / DBL_EPSILON;
#endif

View File

@ -0,0 +1,50 @@
diff -up R-4.0.0/src/main/machar.c.ppc64 R-4.0.0/src/main/machar.c
--- R-4.0.0/src/main/machar.c.ppc64 2020-06-02 14:42:18.741222048 -0400
+++ R-4.0.0/src/main/machar.c 2020-06-02 14:44:26.523106368 -0400
@@ -98,21 +98,22 @@ MACH_NAME(int *ibeta, int *it, int *irnd
{
volatile DTYPE a, b, beta, betain, betah, one,
t, temp, tempa, temp1, two, y, z, zero;
- int i, itemp, iz, j, k, mx, nxres;
+ int i, iz, j, k, mx, nxres;
one = 1;
two = one+one;
zero = one-one;
/* determine ibeta, beta ala malcolm. */
-
- a = one;
+ a = one; // a = <large> = 9.0072e+15 for 'double' is used later
do {
a = a + a;
temp = a + one;
temp1 = temp - a;
}
while(temp1 - one == zero);
+#ifdef _no_longer___did_overflow_ // on IBM PowerPPC ('Power 8')
+ int itemp;
b = one;
do {
b = b + b;
@@ -121,6 +122,9 @@ MACH_NAME(int *ibeta, int *it, int *irnd
}
while (itemp == 0);
*ibeta = itemp;
+#else
+ *ibeta = (int) FLT_RADIX;
+#endif
beta = *ibeta;
/* determine it, irnd */
diff -up R-4.0.0/src/main/platform.c.ppc64 R-4.0.0/src/main/platform.c
--- R-4.0.0/src/main/platform.c.ppc64 2020-06-02 14:44:40.940754817 -0400
+++ R-4.0.0/src/main/platform.c 2020-06-02 14:45:08.940072121 -0400
@@ -43,6 +43,7 @@
#include <Rinterface.h>
#include <Fileio.h>
#include <ctype.h> /* toupper */
+#include <float.h> // -> FLT_RADIX
#include <limits.h>
#include <string.h>
#include <stdlib.h> /* for realpath */

View File

@ -1,7 +0,0 @@
#!/bin/bash
# This script used to do something, now it doesn't.
# Why are you reading this?
exit 0

506
R.spec
View File

@ -1,6 +1,63 @@
# We do not want this.
%define __brp_mangle_shebangs /usr/bin/true
%global runjavareconf 1
# lapack comes from openblas, whenever possible.
# We decided to implement this change in Fedora 31+ and EPEL-8 only.
# This was to minimize the impact on end-users who might have R modules
# installed locally with the old dependency on libRlapack.so
%if 0%{?fedora} >= 31
%global syslapack 1
%else
%if 0%{?rhel} && 0%{?rhel} >= 8
%global syslapack 1
%else
%global syslapack 0
%endif
%endif
%if 0%{?rhel} >= 8
%global openblas 1
%else
%if 0%{?rhel} == 7
%ifarch x86_64 %{ix86} armv7hl %{power64} aarch64
%global openblas 1
%else
%global openblas 0
%endif
%else
%if 0%{?fedora}
%global openblas 1
%else
%global openblas 0
%endif
%endif
%endif
%if 0%{?fedora} >= 33
%global flexiblas 1
%else
%global flexiblas 0
%endif
%if 0%{?fedora} >= 31
%global usemacros 1
%else
%if 0%{?rhel} && 0%{?rhel} >= 8
%global usemacros 1
%else
%global usemacros 0
%endif
%endif
%if 0%{?rhel} && 0%{?rhel} <= 6
%ifarch ppc64 ppc64le
%global runjavareconf 0
%endif
%endif
%ifarch x86_64
%global java_arch amd64
%else
@ -23,6 +80,21 @@
%global with_java_headless 1
%endif
# We need this on old EL for C++11 support.
%if 0%{?rhel} && 0%{?rhel} <= 7
%global use_devtoolset 1
%else
%global use_devtoolset 0
%endif
%if 0%{?rhel} == 7
%global dts_version 8
%endif
%if 0%{?rhel} == 6
%global dts_version 7
%endif
# Using lto breaks debuginfo.
# %%if 0%%{?fedora} >= 19
# %%global with_lto 1
@ -81,30 +153,16 @@
%global texi2any 1
%endif
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
%ifarch x86_64 %{ix86} armv7hl %{power64} aarch64
%if 0%{?rhel} >= 7
%global openblas 1
%else
%if 0%{?fedora} >= 23
%global openblas 1
%else
%global openblas 0
%endif
%endif
%else
%global openblas 0
%endif
%global major_version 4
%global minor_version 0
%global patch_version 3
Name: R
Version: 3.5.0
Version: %{major_version}.%{minor_version}.%{patch_version}
Release: 1%{?dist}
Summary: A language for data analysis and graphics
URL: http://www.r-project.org
Source0: https://cran.r-project.org/src/base/R-3/R-%{version}.tar.gz
Source1: macros.R
Source2: R-make-search-index.sh
Source0: https://cran.r-project.org/src/base/R-4/R-%{version}.tar.gz
%if %{texi2any}
# If we have texi2any 5.1+, we can generate the docs on the fly.
# If not, we're building for a very old target (RHEL 6 or older)
@ -121,14 +179,14 @@ Source106: https://cran.r-project.org/doc/FAQ/R-FAQ.html
%endif
%if %{zlibhack}
%global zlibv 1.2.11
%global bzipv 1.0.6
%global xzv 5.2.4
%global pcrev 8.42
%global curlv 7.59.0
%global bzipv 1.0.8
%global xzv 5.2.5
%global pcrev 8.44
%global curlv 7.72.0
Source1000: http://zlib.net/zlib-%{zlibv}.tar.gz
Source1001: http://www.bzip.org/1.0.6/bzip2-%{bzipv}.tar.gz
Source1001: https://www.sourceware.org/pub/bzip2/bzip2-%{bzipv}.tar.gz
Source1002: http://tukaani.org/xz/xz-%{xzv}.tar.bz2
Source1003: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{pcrev}.tar.bz2
Source1003: https://ftp.pcre.org/pub/pcre/pcre-%{pcrev}.tar.bz2
Source1004: https://curl.haxx.se/download/curl-%{curlv}.tar.bz2
BuildRequires: glibc-devel
BuildRequires: groff
@ -150,12 +208,15 @@ BuildRequires: stunnel
# see https://bugzilla.redhat.com/show_bug.cgi?id=1324145
Patch1: R-3.3.0-fix-java_path-in-javareconf.patch
License: GPLv2+
Group: Applications/Engineering
BuildRequires: gcc-gfortran
BuildRequires: gcc-c++, tex(latex), texinfo-tex
BuildRequires: libpng-devel, libjpeg-devel, readline-devel
BuildRequires: tcl-devel, tk-devel, ncurses-devel
BuildRequires: pcre-devel, zlib-devel
%if 0%{modern}
# Fedora (at least rawhide) pulls this into the buildroot anyways, but lets be explicit for consistency
BuildRequires: pcre2-devel
%endif
%if 0%{?rhel}
# RHEL older than 6
%if 0%{?rhel} < 7
@ -182,29 +243,26 @@ BuildRequires: java
BuildRequires: tre-devel
BuildRequires: autoconf, automake, libtool
%endif
%if %{flexiblas}
BuildRequires: flexiblas-devel
%else
%if %{openblas}
BuildRequires: openblas-devel
%endif
%endif
# We use the bundled lapack and shim for BLAS now.
%if 0
%if 0%{?fedora} >= 21
%if %{syslapack}
%if !%{flexiblas}
%if !%{openblas}
BuildRequires: lapack-devel >= 3.5.0-7
BuildRequires: blas-devel >= 3.5.0-7
%else
%if 0%{?fedora} >= 19
BuildRequires: lapack-devel >= 3.4.2-7
BuildRequires: blas-devel >= 3.4.2-7
%else
BuildRequires: lapack-devel
BuildRequires: blas-devel >= 3.0
%endif
%endif
%endif
BuildRequires: libSM-devel, libX11-devel, libICE-devel, libXt-devel
BuildRequires: bzip2-devel, libXmu-devel, cairo-devel, libtiff-devel
BuildRequires: gcc-objc, pango-devel, xz-devel
BuildRequires: pango-devel, xz-devel
%if %{libicu}
BuildRequires: libicu-devel
%endif
@ -213,6 +271,10 @@ BuildRequires: less
BuildRequires: tex(inconsolata.sty)
BuildRequires: tex(upquote.sty)
%endif
%if %{use_devtoolset}
BuildRequires: devtoolset-%{dts_version}-toolchain
%endif
# R-devel will pull in R-core
Requires: R-devel = %{version}-%{release}
# libRmath-devel will pull in libRmath
@ -241,8 +303,9 @@ and called at run time.
%package core
Summary: The minimal R components necessary for a functional runtime
Group: Applications/Engineering
Requires: xdg-utils, cups
Requires: xdg-utils
# Bugzilla 1875165
Recommends: cups
# R inherits the compiler flags it was built with, hence we need this on hardened systems
%if 0%{hardening}
Requires: redhat-rpm-config
@ -261,42 +324,64 @@ Requires: sed, gawk, tex(latex), less, make, unzip
# Make sure we bring the new libRmath with us
Requires: libRmath%{?_isa} = %{version}-%{release}
%if !%{syslapack}
%if !%{flexiblas}
%if %{openblas}
Requires: openblas-Rblas
%endif
%endif
%endif
%if %{use_devtoolset}
# We need it for CXX11 and higher support.
Requires: devtoolset-%{dts_version}-toolchain
%endif
# This is our ABI provides to prevent mismatched installs.
# R packages should autogenerate a Requires: R(ABI) based on the R they were built against.
Provides: R(ABI) = %{major_version}.%{minor_version}
# These are the submodules that R-core provides. Sometimes R modules say they
# depend on one of these submodules rather than just R. These are provided for
# packager convenience.
Provides: R-base = %{version}
Provides: R-boot = 1.3.20
Provides: R-class = 7.3.14
Provides: R-cluster = 2.0.7.1
Provides: R-codetools = 0.2.15
Provides: R-datasets = %{version}
Provides: R-foreign = 0.8.70
Provides: R-graphics = %{version}
Provides: R-grDevices = %{version}
Provides: R-grid = %{version}
Provides: R-KernSmooth = 2.23.15
Provides: R-lattice = 0.20.35
Provides: R-MASS = 7.3.49
Provides: R-Matrix = 1.2.14
%define add_submodule() %{lua:
local name = rpm.expand("%1")
local version = rpm.expand("%2")
local rpm_version = string.gsub(version, "-", ".")
print("Provides: R-" .. name .. " = " .. rpm_version .. "\\n")
print("Provides: R(" .. name .. ") = " .. version)
}
%add_submodule base %{version}
%add_submodule boot 1.3-25
%add_submodule class 7.3-17
%add_submodule cluster 2.1.0
%add_submodule codetools 0.2-16
%add_submodule compiler %{version}
%add_submodule datasets %{version}
%add_submodule foreign 0.8-80
%add_submodule graphics %{version}
%add_submodule grDevices %{version}
%add_submodule grid %{version}
%add_submodule KernSmooth 2.23-17
%add_submodule lattice 0.20-41
%add_submodule MASS 7.3-53
%add_submodule Matrix 1.2-18
Obsoletes: R-Matrix < 0.999375-7
Provides: R-methods = %{version}
Provides: R-mgcv = 1.8.23
Provides: R-nlme = 3.1.137
Provides: R-nnet = 7.3.12
Provides: R-parallel = %{version}
Provides: R-rpart = 4.1.13
Provides: R-spatial = 7.3.11
Provides: R-splines = %{version}
Provides: R-stats = %{version}
Provides: R-stats4 = %{version}
Provides: R-survival = 2.41.3
Provides: R-tcltk = %{version}
Provides: R-tools = %{version}
Provides: R-utils = %{version}
%add_submodule methods %{version}
%add_submodule mgcv 1.8-33
%add_submodule nlme 3.1-149
%add_submodule nnet 7.3-14
%add_submodule parallel %{version}
%add_submodule rpart 4.1-15
%add_submodule spatial 7.3-12
%add_submodule splines %{version}
%add_submodule stats %{version}
%add_submodule stats4 %{version}
%add_submodule survival 3.2-7
%add_submodule tcltk %{version}
%add_submodule tools %{version}
%add_submodule translations %{version}
%add_submodule utils %{version}
%description core
A language and environment for statistical computing and graphics.
@ -314,14 +399,26 @@ and called at run time.
%package core-devel
Summary: Core files for development of R packages (no Java)
Group: Applications/Engineering
Requires: R-core = %{version}-%{release}
# You need all the BuildRequires for the development version
Requires: gcc-c++, gcc-gfortran, tex(latex), texinfo-tex
Requires: bzip2-devel, libX11-devel, pcre-devel, zlib-devel
Requires: bzip2-devel, libX11-devel, zlib-devel
Requires: tcl-devel, tk-devel, pkgconfig, xz-devel
# No longer true.
# Requires: blas-devel >= 3.0, lapack-devel
# This may go away at some point, possibly R 3.6?
Requires: pcre-devel
%if 0%{modern}
# Configure picks this up, but despite linking to it, it does not seem to be used as of R 3.5.2.
Requires: pcre2-devel
%endif
%if %{syslapack}
%if %{flexiblas}
Requires: flexiblas-devel
%else
%if %{openblas}
Requires: openblas-devel
%endif
%endif
%endif
%if %{modern}
Requires: libicu-devel
%endif
@ -346,7 +443,7 @@ Requires: tex(cm-super-ts1.enc)
Requires: qpdf
%endif
Provides: R-Matrix-devel = 1.2.14
Provides: R-Matrix-devel = 1.2.18
Obsoletes: R-Matrix-devel < 0.999375-7
%if %{modern}
@ -361,11 +458,13 @@ Install R-core-devel if you are going to develop or compile R packages.
%package devel
Summary: Full R development environment metapackage
%if %{usemacros}
Requires: R-rpm-macros
%endif
Requires: R-core-devel = %{version}-%{release}
%if %{modern}
Requires: R-java-devel = %{version}-%{release}
%else
Group: Development/Libraries
%endif
%description devel
@ -375,7 +474,6 @@ environment.
%if %{modern}
%package java
Summary: R with Fedora provided Java Runtime Environment
Group: Applications/Engineering
Requires(post): R-core = %{version}-%{release}
%if %{with_java_headless}
Requires: java-headless
@ -402,7 +500,6 @@ Fedora's openJDK.
%package java-devel
Summary: Development package for use with Java enabled R components
Group: Applications/Engineering
Requires(post): R-core-devel = %{version}-%{release}
Requires(post): java-devel
@ -413,7 +510,6 @@ that assume java is present and configured on the system.
%package -n libRmath
Summary: Standalone math library from the R project
Group: Development/Libraries
%description -n libRmath
A standalone library of mathematical and statistical functions derived
@ -421,7 +517,6 @@ from the R project. This package provides the shared libRmath library.
%package -n libRmath-devel
Summary: Headers from the R Standalone math library
Group: Development/Libraries
Requires: libRmath = %{version}-%{release}, pkgconfig
%description -n libRmath-devel
@ -430,7 +525,6 @@ from the R project. This package provides the libRmath header files.
%package -n libRmath-static
Summary: Static R Standalone math library
Group: Development/Libraries
Requires: libRmath-devel = %{version}-%{release}
%description -n libRmath-static
@ -501,6 +595,9 @@ make DESTDIR=%{_builddir}/%{name}-%{version}/curl-%{curlv}/target INSTALL="insta
popd
%endif
%if %{use_devtoolset}
. /opt/rh/devtoolset-%{dts_version}/enable
%endif
# Add PATHS to Renviron for R_LIBS_SITE
echo 'R_LIBS_SITE=${R_LIBS_SITE-'"'/usr/local/lib/R/site-library:/usr/local/lib/R/library:%{_libdir}/R/library:%{_datadir}/R/library'"'}' >> etc/Renviron.in
@ -559,16 +656,28 @@ export FCFLAGS="%{optflags} -ffat-lto-objects"
%else
export FCFLAGS="%{optflags}"
%endif
%if 0%{?fedora} >= 30
# gcc9 needs us to pass --no-optimize-sibling-calls to gfortran
export FCFLAGS="%{optflags} --no-optimize-sibling-calls"
export FFLAGS="%{optflags} --no-optimize-sibling-calls"
%endif
# RHEL 5 & 6 & 7 have a broken BLAS, so we need to use the bundled bits in R until
# they are fixed... and it doesn't look like it will ever be fixed in RHEL 5.
# https://bugzilla.redhat.com/show_bug.cgi?id=1117491
# https://bugzilla.redhat.com/show_bug.cgi?id=1117496
# https://bugzilla.redhat.com/show_bug.cgi?id=1117497
#
# We use --enable-BLAS-shlib here. It generates a shared library
# On old RHEL, we use --enable-BLAS-shlib here. It generates a shared library
# of the R bundled blas, that can be replaced by an optimized version.
# It also results in R using the bundled lapack copy.
%if %{flexiblas}
# avoid this check
sed -i '/"checking whether the BLAS is complete/i r_cv_complete_blas=yes' configure
%endif
( %configure \
%if 0%{?rhel} && 0%{?rhel} <= 5
--with-readline=no \
@ -577,14 +686,22 @@ export FCFLAGS="%{optflags}"
--with-system-tre \
%endif
--with-system-valgrind-headers \
%if 0%{?fedora}
%if %{syslapack}
--with-lapack \
%if %{flexiblas}
--with-blas="flexiblas" \
%else
--with-blas \
%endif
%else
--enable-BLAS-shlib \
%endif
--with-tcl-config=%{_libdir}/tclConfig.sh \
--with-tk-config=%{_libdir}/tkConfig.sh \
--enable-BLAS-shlib \
--enable-R-shlib \
--enable-prebuilt-html \
--enable-R-profiling \
--enable-memory-profiling \
%if %{with_lto}
%ifnarch %{arm}
--enable-lto \
@ -597,8 +714,7 @@ export FCFLAGS="%{optflags}"
%endif
rdocdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} \
rincludedir=%{_includedir}/R \
rsharedir=%{_datadir}/R) \
> CONFIGURE.log
rsharedir=%{_datadir}/R) | tee CONFIGURE.log
cat CONFIGURE.log | grep -A30 'R is now' - > CAPABILITIES
%if 0%{?zlibhack}
make V=1 CURL_CPPFLAGS='-DCURL_STATICLIB -I%{_builddir}/%{name}-%{version}/curl-%{curlv}/target%{_includedir}' CURL_LIBS=`%{_builddir}/%{name}-%{version}/curl-%{curlv}/target/usr/bin/curl-config --libs`
@ -619,17 +735,24 @@ sed -i 's|@eqn|@math|g' doc/manual/R-intro.texi
%if %{texi2any}
make MAKEINFO=texi2any info
%else
make MAKEINFO=makeinfo info
# Well, this used to work, but now rhel 6 is too old and buggy.
# make MAKEINFO=makeinfo info
%endif
%if %{texi2any}
# Convert to UTF-8
for i in doc/manual/R-intro.info doc/manual/R-FAQ.info doc/FAQ doc/manual/R-admin.info doc/manual/R-exts.info-1; do
iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
mv $i{.utf8,}
done
%endif
%install
%if %{texi2any}
make DESTDIR=${RPM_BUILD_ROOT} install install-info
%else
make DESTDIR=${RPM_BUILD_ROOT} install
%endif
# And now, undo the hack. :P
%if 0%{?fedora} >= 19
mv doc/manual/R-exts.texi.spot doc/manual/R-exts.texi
@ -654,14 +777,6 @@ echo "%{_libdir}/R/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library
# Install rpm helper macros
mkdir -p $RPM_BUILD_ROOT%{macrosdir}/
install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{macrosdir}/
# Install rpm helper script
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/
install -m0755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/rpm/
# Fix multilib
touch -r README ${RPM_BUILD_ROOT}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/CAPABILITIES
touch -r README doc/manual/*.pdf
@ -692,7 +807,7 @@ fi
if [ ! -d "$RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/R" ]; then
mkdir -p $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex
pushd $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex
ln -s ../../../R/texmf/tex/latex R
ln -s %{_datadir}/R/texmf/tex/latex R
popd
fi
@ -721,16 +836,21 @@ sed -i 's|:/builddir/build/BUILD/R-%{version}/curl-%{curlv}/target%{_libdir}/:/b
sed -i 's|/builddir/build/BUILD/R-%{version}/curl-%{curlv}/target%{_libdir}/:/builddir/build/BUILD/R-%{version}/curl-%{curlv}/target%{_libdir}||g' %{buildroot}%{_libdir}/R/etc/ldpaths
%endif
%if !%{syslapack}
%if !%{flexiblas}
%if %{openblas}
# Rename the R blas so.
mv %{buildroot}%{_libdir}/R/lib/libRblas.so %{buildroot}%{_libdir}/R/lib/libRrefblas.so
%endif
%endif
%endif
# okay, look. its very clear that upstream does not run the test suite on any non-intel architectures.
%check
%if 0%{?zlibhack}
# Most of these tests pass. Some don't. All pieces belong to you.
%else
%ifnarch ppc64 ppc64le
%ifnarch ppc64 ppc64le armv7hl s390x aarch64
# Needed by tests/ok-error.R, which will smash the stack on PPC64. This is the purpose of the test.
ulimit -s 16384
TZ="Europe/Paris" make check
@ -738,23 +858,17 @@ TZ="Europe/Paris" make check
%endif
%post core
# Create directory entries for info files
# (optional doc files, so we must check that they are installed)
for doc in admin exts FAQ intro lang; do
file=%{_infodir}/R-${doc}.info.gz
if [ -e $file ]; then
/sbin/install-info ${file} %{_infodir}/dir 2>/dev/null || :
fi
done
/sbin/ldconfig
%if %{runjavareconf}
R CMD javareconf \
JAVA_HOME=%{_jvmdir}/jre \
JAVA_CPPFLAGS='-I%{_jvmdir}/java/include\ -I%{_jvmdir}/java/include/linux' \
JAVA_LIBS='-L%{_jvmdir}/jre/lib/%{java_arch}/server \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch} \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch}\ -L%{_jvmdir}/jre/lib/server \
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:%{_jvmdir}/jre/lib/server:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
> /dev/null 2>&1 || exit 0
%endif
# With 2.10.0, we no longer need to do any of this.
@ -768,18 +882,6 @@ R CMD javareconf \
# Don't use .. based paths, substitute /usr/share/R
# sed -i "s!../../..!/usr/share/R!g" %{_docdir}/R-%{version}/html/search/index.txt
%preun core
if [ $1 = 0 ]; then
# Delete directory entries for info files (if they were installed)
for doc in admin exts FAQ intro lang; do
file=%{_infodir}/R-${doc}.info.gz
if [ -e ${file} ]; then
/sbin/install-info --delete R-${doc} %{_infodir}/dir 2>/dev/null || :
fi
done
fi
%postun core
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
@ -791,39 +893,40 @@ fi
%if %{modern}
%post java
%if %{runjavareconf}
R CMD javareconf \
JAVA_HOME=%{_jvmdir}/jre \
JAVA_CPPFLAGS='-I%{_jvmdir}/java/include\ -I%{_jvmdir}/java/include/linux' \
JAVA_LIBS='-L%{_jvmdir}/jre/lib/%{java_arch}/server \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch} \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch}\ -L%{_jvmdir}/jre/lib/server \
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
> /dev/null 2>&1 || exit 0
%post java-devel
R CMD javareconf \
JAVA_HOME=%{_jvmdir}/jre \
JAVA_CPPFLAGS='-I%{_jvmdir}/java/include\ -I%{_jvmdir}/java/include/linux' \
JAVA_LIBS='-L%{_jvmdir}/jre/lib/%{java_arch}/server \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch} \
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:%{_jvmdir}/jre/lib/server:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
> /dev/null 2>&1 || exit 0
%endif
%post -n libRmath -p /sbin/ldconfig
%post java-devel
%if %{runjavareconf}
R CMD javareconf \
JAVA_HOME=%{_jvmdir}/jre \
JAVA_CPPFLAGS='-I%{_jvmdir}/java/include\ -I%{_jvmdir}/java/include/linux' \
JAVA_LIBS='-L%{_jvmdir}/jre/lib/%{java_arch}/server \
-L%{_jvmdir}/jre/lib/%{java_arch}\ -L%{_jvmdir}/java/lib/%{java_arch}\ -L%{_jvmdir}/jre/lib/server \
-L/usr/java/packages/lib/%{java_arch}\ -L/lib\ -L/usr/lib\ -ljvm' \
JAVA_LD_LIBRARY_PATH=%{_jvmdir}/jre/lib/%{java_arch}/server:%{_jvmdir}/jre/lib/%{java_arch}:%{_jvmdir}/java/lib/%{java_arch}:%{_jvmdir}/jre/lib/server:/usr/java/packages/lib/%{java_arch}:/lib:/usr/lib \
> /dev/null 2>&1 || exit 0
%endif
%endif
%postun -n libRmath -p /sbin/ldconfig
%ldconfig_scriptlets -n libRmath
%files
# Metapackage
%files core
%defattr(-, root, root, -)
%{_bindir}/R
%{_bindir}/Rscript
%{_datadir}/R/
%{_datadir}/texmf/
%{_datadir}/texmf/tex/latex/R
# Have to break this out for the translations
%dir %{_libdir}/R/
%{_libdir}/R/bin/
@ -869,6 +972,7 @@ R CMD javareconf \
%lang(de) %{_libdir}/R/library/boot/po/de/
%lang(en) %{_libdir}/R/library/boot/po/en*/
%lang(fr) %{_libdir}/R/library/boot/po/fr/
%lang(it) %{_libdir}/R/library/boot/po/it/
%lang(ko) %{_libdir}/R/library/boot/po/ko/
%lang(pl) %{_libdir}/R/library/boot/po/pl/
%lang(ru) %{_libdir}/R/library/boot/po/ru/
@ -888,6 +992,7 @@ R CMD javareconf \
%lang(de) %{_libdir}/R/library/class/po/de/
%lang(en) %{_libdir}/R/library/class/po/en*/
%lang(fr) %{_libdir}/R/library/class/po/fr/
%lang(it) %{_libdir}/R/library/class/po/it/
%lang(ko) %{_libdir}/R/library/class/po/ko/
%lang(pl) %{_libdir}/R/library/class/po/pl/
%{_libdir}/R/library/class/R/
@ -939,6 +1044,7 @@ R CMD javareconf \
%lang(de) %{_libdir}/R/library/foreign/po/de/
%lang(en) %{_libdir}/R/library/foreign/po/en*/
%lang(fr) %{_libdir}/R/library/foreign/po/fr/
%lang(it) %{_libdir}/R/library/foreign/po/it/
%lang(pl) %{_libdir}/R/library/foreign/po/pl/
%{_libdir}/R/library/foreign/R/
# graphics
@ -960,6 +1066,7 @@ R CMD javareconf \
%lang(de) %{_libdir}/R/library/KernSmooth/po/de/
%lang(en) %{_libdir}/R/library/KernSmooth/po/en*/
%lang(fr) %{_libdir}/R/library/KernSmooth/po/fr/
%lang(it) %{_libdir}/R/library/KernSmooth/po/it/
%lang(ko) %{_libdir}/R/library/KernSmooth/po/ko/
%lang(pl) %{_libdir}/R/library/KernSmooth/po/pl/
%{_libdir}/R/library/KernSmooth/R/
@ -999,6 +1106,7 @@ R CMD javareconf \
%lang(de) %{_libdir}/R/library/MASS/po/de/
%lang(en) %{_libdir}/R/library/MASS/po/en*/
%lang(fr) %{_libdir}/R/library/MASS/po/fr/
%lang(it) %{_libdir}/R/library/MASS/po/it/
%lang(ko) %{_libdir}/R/library/MASS/po/ko/
%lang(pl) %{_libdir}/R/library/MASS/po/pl/
%{_libdir}/R/library/MASS/R/
@ -1070,6 +1178,7 @@ R CMD javareconf \
%lang(de) %{_libdir}/R/library/nnet/po/de/
%lang(en) %{_libdir}/R/library/nnet/po/en*/
%lang(fr) %{_libdir}/R/library/nnet/po/fr/
%lang(it) %{_libdir}/R/library/nnet/po/it/
%lang(ko) %{_libdir}/R/library/nnet/po/ko/
%lang(pl) %{_libdir}/R/library/nnet/po/pl/
%{_libdir}/R/library/nnet/R/
@ -1110,6 +1219,7 @@ R CMD javareconf \
%lang(de) %{_libdir}/R/library/spatial/po/de/
%lang(en) %{_libdir}/R/library/spatial/po/en*/
%lang(fr) %{_libdir}/R/library/spatial/po/fr/
%lang(it) %{_libdir}/R/library/spatial/po/it/
%lang(ko) %{_libdir}/R/library/spatial/po/ko/
%lang(pl) %{_libdir}/R/library/spatial/po/pl/
%{_libdir}/R/library/spatial/ppdata/
@ -1133,16 +1243,15 @@ R CMD javareconf \
%{_libdir}/R/COPYING
# %%{_libdir}/R/NEWS*
%{_libdir}/R/SVN-REVISION
/usr/lib/rpm/R-make-search-index.sh
%if %{texi2any}
%{_infodir}/R-*.info*
%{macrosdir}/macros.R
%endif
%{_mandir}/man1/*
%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
%docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
/etc/ld.so.conf.d/*
%files core-devel
%defattr(-, root, root, -)
%{_libdir}/pkgconfig/libR.pc
%{_includedir}/R
# Symlink to %%{_includedir}/R/
@ -1160,23 +1269,144 @@ R CMD javareconf \
%endif
%files -n libRmath
%defattr(-, root, root, -)
%doc doc/COPYING
%{_libdir}/libRmath.so
%files -n libRmath-devel
%defattr(-, root, root, -)
%{_includedir}/Rmath.h
%{_libdir}/pkgconfig/libRmath.pc
%files -n libRmath-static
%defattr(-, root, root, -)
%{_libdir}/libRmath.a
%changelog
* Mon Oct 12 2020 Tom Callaway <spot@fedoraproject.org> - 4.0.3-1
- update to 4.0.3
* Tue Sep 8 2020 Tom Callaway <spot@fedoraproject.org> - 4.0.2-5
- make cups a "Recommends" instead of a "Requires" (bz1875165)
- even though f31 uses a forked spec file, reflect the systemlapack change there here
* Fri Aug 07 2020 Iñaki Úcar <iucar@fedoraproject.org> - 4.0.2-4
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 15 2020 Tom Callaway <spot@fedoraproject.org> - 4.0.2-2
- add additional paths to find libjvm.so (OpenJDK 11+)
* Mon Jun 22 2020 Tom Callaway <spot@fedoraproject.org> - 4.0.2-1
- update to 4.0.2
* Tue Jun 16 2020 Tom Callaway <spot@fedoraproject.org> - 4.0.1-1
- update to 4.0.1
* Mon Jun 15 2020 Pete Walter <pwalter@fedoraproject.org> - 4.0.0-3
- Rebuild for ICU 67
* Tue Jun 2 2020 Tom Callaway <spot@fedoraproject.org> - 4.0.0-2
- apply upstream fix for ppc64 infinite loop
* Fri May 8 2020 Tom Callaway <spot@fedoraproject.org> - 4.0.0-1
- update to 4.0.0
NOTE: This major release update requires all installed R modules to be rebuilt in order to work.
To help with this, we've added an R(ABI) Provides/Requires setup.
* Mon Mar 2 2020 Tom Callaway <spot@fedoraproject.org> - 3.6.3-1
- update to 3.6.3
- conditionalize lapack changes from previous commits to Fedora 32+ and EPEL-8
* Tue Feb 18 2020 Tom Callaway <spot@fedoraproject.org> - 3.6.2-5
- fix openblas conditionals, openblas has wider arch support everywhere except el7
* Tue Feb 18 2020 Tom Callaway <spot@fedoraproject.org> - 3.6.2-4
- fix conditionals so that Fedora builds against system openblas for lapack/blas
and we only generate the R lapack/blas libs on RHEL 5-6-7 (where system lapack/openblas
is not reliable). Thanks to Dirk Eddelbuettel for pointing out the error.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Dec 18 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.2-2
- adjust ppc64 patch to reflect upstream fix
* Thu Dec 12 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.2-1
- update to 3.6.2
- disable tests on all non-intel arches
- fix powerpc64
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 3.6.1-3
- Rebuild for ICU 65
* Fri Aug 30 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.1-2
- conditionalize macro usage so that it only happens on Fedora 31+ and EPEL-8
* Fri Aug 16 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.1-1
- update to 3.6.1
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.6.0-5
- Remove unused and nonfunctional macros and helper script
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jul 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.6.0-3
- Add automated dependency generator to R-devel
- Add standard Provides for bundled libraries
* Thu Jun 13 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.0-2
- use devtoolset toolchain to compile on el6/el7 for C++11 support
* Wed May 29 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.0-1
- update to 3.6.0
- use --no-optimize-sibling-calls for gfortran to work around issues
* Mon Mar 11 2019 Tom Callaway <spot@fedoraproject.org> - 3.5.3-1
- update to 3.5.3
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.2-5
- Rebuild for readline 8.0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 3.5.2-3
- Rebuild for ICU 63
* Tue Jan 8 2019 Tom Callaway <spot@fedoraproject.org> - 3.5.2-2
- handle pcre2 use/detection
* Mon Jan 7 2019 Tom Callaway <spot@fedoraproject.org> - 3.5.2-1
- update to 3.5.2
* Fri Dec 7 2018 Tom Callaway <spot@fedoraproject.org> - 3.5.1-2
- use absolute path in symlink for latex dir (bz1594102)
* Mon Sep 10 2018 Tom Callaway <spot@fedoraproject.org> - 3.5.1-1
- update to 3.5.1
- update bundled curl to 7.61.1
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 3.5.0-5
- Rebuild for ICU 62
* Tue Jun 5 2018 Tom Callaway <spot@fedoraproject.org> - 3.5.0-4
- only own /usr/share/texmf/tex/latex/R ... not /usr/share/texmf
* Fri May 18 2018 Tom Callaway <spot@fedoraproject.org> - 3.5.0-3
- do not run javareconf on el6/ppc64 EVEN in the java subpackages
* Fri May 18 2018 Tom Callaway <spot@fedoraproject.org> - 3.5.0-2
- do not run javareconf on el6/ppc64
* Mon May 14 2018 Tom Callaway <spot@fedoraproject.org> - 3.5.0-1
- update to 3.5.0
- update xz bundle (rhel6 only)
- disable tests on armv7hl
- disable info builds on rhel 6
* Sun May 13 2018 Stefan O'Rear <sorear2@gmail.com> - 3.4.4-3
- Add riscv* to target CPU specs

View File

@ -1,9 +0,0 @@
#
# RPM macros for R packaging
#
#
# Make R search index.txt
#
%_R_make_search_index /usr/lib/rpm/R-make-search-index.sh

2
package.cfg Normal file
View File

@ -0,0 +1,2 @@
[koji]
targets = epel8 epel8-playground

10
sources
View File

@ -1,6 +1,6 @@
SHA512 (zlib-1.2.11.tar.gz) = 73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae
SHA512 (bzip2-1.0.6.tar.gz) = 00ace5438cfa0c577e5f578d8a808613187eff5217c35164ffe044fbafdfec9e98f4192c02a7d67e01e5a5ccced630583ad1003c37697219b0f147343a3fdd12
SHA512 (pcre-8.42.tar.bz2) = b47b923108f6ee0c31409b79d0888314271b482a22590e164d02f21d2112fba22dd0342c24f9ba0f5fcc5b8c65550bad08c476e30a2fc79b34ecf4601ed82f3d
SHA512 (curl-7.59.0.tar.bz2) = 9b5586f443a3c9fed947debce86861a8dea0fbf59bf8838cfd72a0884f13073630cf9d369b5535a059d122decd738c652705567752517f5cb11148cc16f693fb
SHA512 (xz-5.2.4.tar.bz2) = 25a548c34a304ba51cdaa63813df0fa4ac2f3cf0ec6dc2d181ec5b62fe586090cd0f1c866ee7ba19e9b264ecabf9ca9f2f1dda7f95313546da4152f3cfaa7e6e
SHA512 (R-3.5.0.tar.gz) = c2703e892eb6f12ec7b536540b823d4ef011dddcbdca06c12d438bc1f07debae9dbd0f72abb6f0d4c577a3c74b155452ef527489cf023ed892109dd86c23bc37
SHA512 (bzip2-1.0.8.tar.gz) = 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3
SHA512 (xz-5.2.5.tar.bz2) = 89e25ddf72427ee9608cbf2e9dbc24d592cb67a27f44ccf7d47e4d9405774444e9cfcd02ac4bcb92064860371ed31d3cfbecd5fe063f296ead607714c0a664a1
SHA512 (R-4.0.3.tar.gz) = 2493295f3052d077a4820c0f84ca1c37df262b8b357f62f2ea99dbfffea065861735a08fa2098421078e58e917c540e680a668546d450af734722b421669e058
SHA512 (pcre-8.44.tar.bz2) = f26d850aab5228799e58ac8c2306fb313889332c39e29b118ef1de57677c5c90f970d68d3f475cabc64f8b982a77f04eca990ff1057f3ccf5e19bd137997c4ac
SHA512 (curl-7.72.0.tar.bz2) = ca787b8890c485f3176b9d51b024d217d69f28c34ab84c4091a2fcbbe5f13346efd559e9bb507971aec0ecb6ec4ed5975d2722773015728b72d3f26a3574c312