Remove unused and nonfunctional macros and script.
This commit is contained in:
parent
7ec3f35afe
commit
24f038ef09
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This script used to do something, now it doesn't.
|
|
||||||
# Why are you reading this?
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
19
R.spec
19
R.spec
@ -104,8 +104,6 @@
|
|||||||
%global texi2any 1
|
%global texi2any 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
|
||||||
|
|
||||||
%ifarch x86_64 %{ix86} armv7hl %{power64} aarch64
|
%ifarch x86_64 %{ix86} armv7hl %{power64} aarch64
|
||||||
%if 0%{?rhel} >= 7
|
%if 0%{?rhel} >= 7
|
||||||
%global openblas 1
|
%global openblas 1
|
||||||
@ -122,12 +120,10 @@
|
|||||||
|
|
||||||
Name: R
|
Name: R
|
||||||
Version: 3.6.0
|
Version: 3.6.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: A language for data analysis and graphics
|
Summary: A language for data analysis and graphics
|
||||||
URL: http://www.r-project.org
|
URL: http://www.r-project.org
|
||||||
Source0: https://cran.r-project.org/src/base/R-3/R-%{version}.tar.gz
|
Source0: https://cran.r-project.org/src/base/R-3/R-%{version}.tar.gz
|
||||||
Source1: macros.R
|
|
||||||
Source2: R-make-search-index.sh
|
|
||||||
%if %{texi2any}
|
%if %{texi2any}
|
||||||
# If we have texi2any 5.1+, we can generate the docs on the fly.
|
# 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)
|
# If not, we're building for a very old target (RHEL 6 or older)
|
||||||
@ -715,14 +711,6 @@ echo "%{_libdir}/R/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
|||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library
|
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
|
# Fix multilib
|
||||||
touch -r README ${RPM_BUILD_ROOT}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/CAPABILITIES
|
touch -r README ${RPM_BUILD_ROOT}%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/CAPABILITIES
|
||||||
touch -r README doc/manual/*.pdf
|
touch -r README doc/manual/*.pdf
|
||||||
@ -1177,11 +1165,9 @@ R CMD javareconf \
|
|||||||
%{_libdir}/R/COPYING
|
%{_libdir}/R/COPYING
|
||||||
# %%{_libdir}/R/NEWS*
|
# %%{_libdir}/R/NEWS*
|
||||||
%{_libdir}/R/SVN-REVISION
|
%{_libdir}/R/SVN-REVISION
|
||||||
/usr/lib/rpm/R-make-search-index.sh
|
|
||||||
%if %{texi2any}
|
%if %{texi2any}
|
||||||
%{_infodir}/R-*.info*
|
%{_infodir}/R-*.info*
|
||||||
%endif
|
%endif
|
||||||
%{macrosdir}/macros.R
|
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
||||||
%docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
%docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
||||||
@ -1216,6 +1202,9 @@ R CMD javareconf \
|
|||||||
%{_libdir}/libRmath.a
|
%{_libdir}/libRmath.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user