[packages/rasdaman] - unified doc bcond name
qboosh
qboosh at pld-linux.org
Mon May 11 19:03:54 CEST 2020
commit 906c075920702bf08ac198fda015616999a9a57f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 11 19:04:19 2020 +0200
- unified doc bcond name
rasdaman.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/rasdaman.spec b/rasdaman.spec
index 89b9632..ec29288 100644
--- a/rasdaman.spec
+++ b/rasdaman.spec
@@ -10,7 +10,7 @@
%bcond_without hdf4 # HDF 4 support
%bcond_without java # Java-based components
%bcond_without netcdf # NetCDF support
-%bcond_with docs # Build documentation
+%bcond_with doc # Build documentation
#
Summary: Rasdaman - intelligent multidimensional raster server
Summary(pl.UTF-8): Rasdaman - inteligentny, wielowymiarowy serwer danych rastrowych
@@ -150,7 +150,7 @@ install -d $RPM_BUILD_ROOT{%{_docdir},%{_examplesdir}}
%{__mv} $RPM_BUILD_ROOT%{_datadir}/rasdaman/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-%if %{with docs}
+%if %{with doc}
%{__mv} $RPM_BUILD_ROOT%{_datadir}/rasdaman/doc $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
# package just PDFs, no MS DOCs
%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/pdf/*.doc
@@ -248,7 +248,7 @@ rm -rf $RPM_BUILD_ROOT
%files doc
%defattr(644,root,root,755)
-%if %{with docs}
+%if %{with doc}
%{_docdir}/%{name}-%{version}
%endif
%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rasdaman.git/commitdiff/906c075920702bf08ac198fda015616999a9a57f
More information about the pld-cvs-commit
mailing list