[packages/python-pyparsing] - rel 3; fix build without doc
arekm
arekm at pld-linux.org
Tue Oct 29 13:03:44 CET 2019
commit 2199724fb7ad12ef92842011c002f8a64bf40133
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 29 13:03:36 2019 +0100
- rel 3; fix build without doc
python-pyparsing.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-pyparsing.spec b/python-pyparsing.spec
index 01a5c02..6d9c222 100644
--- a/python-pyparsing.spec
+++ b/python-pyparsing.spec
@@ -9,7 +9,7 @@ Summary: pyparsing - Python 2 module for creating executing simple grammars
Summary(pl.UTF-8): pyparsing - moduł Pythona 2 umożliwiający tworzenie i parsowanie prostych gramatyk
Name: python-%{module}
Version: 2.4.2
-Release: 2
+Release: 3
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pyparsing/
@@ -143,9 +143,11 @@ rm -rf $RPM_BUILD_ROOT
%{py3_sitescriptdir}/pyparsing-*.egg-info
%endif
+%if %{with doc}
%files doc
%defattr(644,root,root,755)
%doc docs/_build/html/{_static,*.html,*.js}
+%endif
%files examples
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyparsing.git/commitdiff/2199724fb7ad12ef92842011c002f8a64bf40133
More information about the pld-cvs-commit
mailing list