commit ea5ff014c6e737dc7cbef5c29f7a94ae28bf8cb7
Author: Jakub Bogusz <[email protected]>
Date:   Mon May 11 19:05:47 2020 +0200

    - unified doc bcond name

 R.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/R.spec b/R.spec
index 2ce27eb..ccec499 100644
--- a/R.spec
+++ b/R.spec
@@ -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
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to