# This is the CRAN/Bioconductor name %define packname lmtest # This is the main version %global packver 0.9 # Note that some R packages do not use packrel %define packrel 40 %global __suggests_exclude ^R\\((AER|dynlm|strucchange)\\) Name: R-%{packname} Version: %{packver}.%{packrel} Release: 1%{?dist} Source0: http://cran.r-project.org/src/contrib/%{packname}_%{packver}-%{packrel}.tar.gz License: GPLv2 URL: http://cran.r-project.org/web/packages/lmtest/index.html Summary: Testing Linear Regression Models for R BuildRequires: tex(latex) BuildRequires: R-devel >= 3.0.0, R-stats, R-zoo-devel %description A collection of tests, data sets and examples for diagnostic checking in linear regression models in R. %prep %setup -q -c -n %{packname} %build %install mkdir -p $RPM_BUILD_ROOT%{_libdir}/R/library %{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname} # Clean up in advance of check test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css %check # Use --no-install until R-strucchange, R-dynlm, and R-survival # are available %{_bindir}/R CMD check --no-install %{packname} %files %doc lmtest/THANKS %dir %{_libdir}/R/library/%{packname} %doc %{_libdir}/R/library/%{packname}/doc %doc %{_libdir}/R/library/%{packname}/html %doc %{_libdir}/R/library/%{packname}/CITATION %doc %{_libdir}/R/library/%{packname}/DESCRIPTION %doc %{_libdir}/R/library/%{packname}/NEWS %{_libdir}/R/library/%{packname}/INDEX %{_libdir}/R/library/%{packname}/NAMESPACE %{_libdir}/R/library/%{packname}/Meta %{_libdir}/R/library/%{packname}/R %{_libdir}/R/library/%{packname}/data %{_libdir}/R/library/%{packname}/help %{_libdir}/R/library/%{packname}/libs %changelog * Thu Sep 1 2022 Tom Callaway - 0.9.40-1 - update to 0.9-40 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.9.38-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.9.38-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.9.38-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 15 2021 Tom Callaway - 0.9.38-3 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.9.38-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Oct 02 2020 Elliott Sales de Andrade - 0.9.38-1 - Update to latest version (#1877252) * Sat Aug 01 2020 Fedora Release Engineering - 0.9.37-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.9.37-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 7 2020 Tom Callaway - 0.9.37-6 - rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 0.9.37-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 21 2019 Elliott Sales de Andrade - 0.9.37-4 - Exclude Suggests for unavailable packages * Mon Aug 12 2019 Elliott Sales de Andrade - 0.9.37-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 0.9.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun May 5 2019 José Matos - 0.9.%{packrel}-1 - update to 0.9.37 * Thu Jan 31 2019 Fedora Release Engineering - 0.9.36-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.9.36-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu May 17 2018 Tom Callaway - 0.9.36-1 - update to 0.9.36 * Wed Feb 07 2018 Fedora Release Engineering - 0.9.35-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.9.35-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.9.35-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 30 2017 Tom Callaway - 0.9.35-1 - update to 0.9-35 * Fri Feb 10 2017 Fedora Release Engineering - 0.9.34-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.9.34-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jul 21 2015 José Matos - 0.9.34-1 - Update to 0.9-34 * Tue Jun 16 2015 Fedora Release Engineering - 0.9.32-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Aug 15 2014 Fedora Release Engineering - 0.9.32-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 0.9.32-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Oct 16 2013 Orion Poplawski - 0.9.32-1 - update to 0.9-32 * Fri Aug 02 2013 Fedora Release Engineering - 0.9.30-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Apr 11 2013 Tom Callaway - 0.9.30-1 - update to 0.9-30 * Wed Feb 13 2013 Fedora Release Engineering - 0.9.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.9.29-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.9.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Nov 8 2011 Tom Callaway 0.9.29-1 - update to new R packaging model - rebuild against R 2.14.0 * Mon Nov 7 2011 Orion Poplawski 0.9-29 - Update to 0.9-29 * Tue Feb 8 2011 Orion Poplawski 0.9-28 - Update to 0.9-27 * Mon Feb 07 2011 Fedora Release Engineering - 0.9-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 10 2010 Orion Poplawski 0.9-26 - Update to 0.9-26 * Thu Nov 19 2009 Orion Poplawski 0.9-25 - Update to 0.9-25 - Update spec for R 2.10.0 (fixes FTBFS bug #538867) * Mon Aug 10 2009 Orion Poplawski 0.9-6 - Update to 0.9-24 * Fri Jul 24 2009 Fedora Release Engineering - 0.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 0.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Feb 19 2009 Orion Poplawski 0.9-3 - Update to 0.9-23 - Change BR to tex(latex) - Drop encoding conversion - encoding is specified in the .tex files - Different doc files * Mon Jun 23 2008 Orion Poplawski 0.9-2 - Fix License, add README and COPYRIGHTS to doc - Fixup non utf8 files * Wed May 7 2008 Orion Poplawski 0.9-1 - Initial package creation