diff options
author | Jakub Bogusz | 2020-05-11 17:05:47 (GMT) |
---|---|---|
committer | Jakub Bogusz | 2020-05-11 17:05:47 (GMT) |
commit | ea5ff014c6e737dc7cbef5c29f7a94ae28bf8cb7 (patch) | |
tree | 1eee0cedf1f75ceb0346395e169a96dd17c63ce6 | |
parent | 9a3b0b6305508f96ed91ad1316453da57cd02697 (diff) | |
download | R-ea5ff014c6e737dc7cbef5c29f7a94ae28bf8cb7.zip R-ea5ff014c6e737dc7cbef5c29f7a94ae28bf8cb7.tar.gz |
- unified doc bcond name
-rw-r--r-- | R.spec | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ %bcond_without openmp # OpenMP support %bcond_without tcl # Tcl/Tk support %bcond_without tests # do not run "make check" -%bcond_without docs # do not build documentation +%bcond_without doc # do not build documentation # # NOTE: # - /etc/localtime must be present for tests to work @@ -57,7 +57,7 @@ BuildRequires: tcl-devel >= 8.4 BuildRequires: tk-devel >= 8.4 %endif BuildRequires: tre-devel -%if %{with docs} +%if %{with doc} BuildRequires: texinfo-texi2dvi >= 4.7 BuildRequires: texlive-dvips BuildRequires: texlive-latex @@ -157,7 +157,7 @@ cd build %{__make} check %endif -%if %{with docs} +%if %{with doc} %{__make} docs pdf info %endif @@ -224,7 +224,7 @@ done > R.files %{__rm} $RPM_BUILD_ROOT%{_libdir}/R/doc/COPYING # packaged as %doc %{__rm} $RPM_BUILD_ROOT%{_libdir}/R/doc/{AUTHORS,COPYRIGHTS,FAQ,NEWS.rds,THANKS} -%if %{with docs} +%if %{with doc} # pdf version of NEWS %{__rm} $RPM_BUILD_ROOT%{_libdir}/R/doc/NEWS.pdf %endif |