[packages/python-pygit2] unify doc bcond name

glen glen at pld-linux.org
Sat Mar 19 18:12:25 CET 2016


commit 9630e8ce4e81a064ce9f736273b683349ffc5741
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 19 19:11:41 2016 +0200

    unify doc bcond name

 python-pygit2.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 61f76bc..1865b2b 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -4,7 +4,7 @@
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
 %bcond_without	python3 # CPython 3.x module
-%bcond_without	docs	# documentation
+%bcond_without	doc	# documentation
 
 %define 	module	pygit2
 Summary:	Python 2.x bindings for libgit2 library
@@ -82,7 +82,7 @@ Dokumentacja API %{module}.
 %{?with_tests:%py3_build test}
 %endif
 
-%if %{with docs}
+%if %{with doc}
 cd docs
 PACKAGE_BUILD=../build-2 \
 %{__make} -j1 html
@@ -124,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
 %{py3_sitedir}/pygit2-%{version}-py*.egg-info
 %endif
 
-%if %{with docs}
+%if %{with doc}
 %files apidoc
 %defattr(644,root,root,755)
 %doc docs/_build/html/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygit2.git/commitdiff/e269d40acd5e76661868d022e38f7004647b9665



More information about the pld-cvs-commit mailing list