[packages/python-flask-mail] docs depend on python2 currently
glen
glen at pld-linux.org
Mon Jun 1 20:04:16 CEST 2015
commit 03a064da75631ba5d79d31e3927d1e686aab1408
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jun 1 21:04:02 2015 +0300
docs depend on python2 currently
python-flask-mail.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/python-flask-mail.spec b/python-flask-mail.spec
index 2bd3e3e..cbe354e 100644
--- a/python-flask-mail.spec
+++ b/python-flask-mail.spec
@@ -5,6 +5,11 @@
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
+%if %{without python2}
+# docs built using python2, this simplifies BR just to disable doc if built without py2
+%undefine with_doc
+%endif
+
%define module flask-mail
Summary: Flask-Mail adds SMTP mail sending to your Flask applications
Summary(pl.UTF-8): Prosty interfejs do konfiguracji SMTP w aplikacjach Flask i do wysyałnia e-mail z widoków i skryptów
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-flask-mail.git/commitdiff/03a064da75631ba5d79d31e3927d1e686aab1408
More information about the pld-cvs-commit
mailing list