Skip to content

Commit a2747e8

Browse files
simon3zzgalor
authored andcommitted
build: update python-hawkular-client specfile
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
1 parent 094e18e commit a2747e8

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

python-hawkular-client.spec

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Source0: https://pypi.python.org/packages/source/h/%{srcname}/%{srcname}-
1919
BuildArch: noarch
2020
BuildRequires: python2-devel
2121
BuildRequires: 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)
3637
BuildRequires: python3-devel
3738
BuildRequires: python3-setuptools
3839
BuildRequires: 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}
5658
cp -a python2 python3
5759
2to3 --write --nobackups python3
@@ -82,17 +84,6 @@ pushd python2
8284
popd
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}/*

0 commit comments

Comments
 (0)