File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Source0: https://pypi.python.org/packages/source/h/%{srcname}/%{srcname}-
1919BuildArch: noarch
2020BuildRequires: python2-devel
2121BuildRequires: python-setuptools
22+ BuildRequires: python2-pypandoc
2223## For tests
2324#BuildRequires: python-mox
2425#Requires: python-dateutil
@@ -36,6 +37,7 @@ Summary: Python 3 client to communicate with Hawkular server over HTTP(S)
3637BuildRequires: python3-devel
3738BuildRequires: python3-setuptools
3839BuildRequires: python-tools
40+ BuildRequires: python3-pypandoc
3941# For tests
4042# python-mox doesn't work with python3
4143# https://bugzilla.redhat.com/show_bug.cgi?id=1209203
@@ -51,7 +53,7 @@ on the server endpoint using urllib2. No external dependencies.
5153
5254%prep
5355%setup -qc
54- mv %{srcname }-%{version } python2
56+ mv python- %{srcname }-%{version } python2
5557%if %{with python3 }
5658cp -a python2 python3
57592to3 --write --nobackups python3
@@ -82,17 +84,6 @@ pushd python2
8284popd
8385
8486
85- %check
86- pushd python2
87- %{__python2} setup.py test
88- popd
89- %if %{with python3 }
90- pushd python3
91- %{__python3} setup.py test
92- popd
93- %endif # with python3
94-
95-
9687%files
9788%doc python2/README.rst
9889%{python2_sitelib }/*
You can’t perform that action at this time.
0 commit comments