diff --git a/python-httpretty.spec b/python-httpretty.spec index 9db224f..d7e0ba7 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -11,7 +11,6 @@ #global shortcommit %%(c=%%{github_commit}; echo ${c:0:7}) #global github_date 20161011 -%global run_tests 1 Name: python-httpretty Version: 1.0.5 @@ -50,17 +49,6 @@ Requires: python%{?fedora:2}-six BuildRequires: python2-devel BuildRequires: python2-setuptools -# For tests -BuildRequires: python%{?fedora:2}-httplib2 -BuildRequires: python%{?fedora:2}-mock -BuildRequires: python%{?fedora:2}-nose -BuildRequires: python%{?fedora:2}-requests -BuildRequires: python%{?fedora:2}-sure -BuildRequires: python%{?fedora:2}-urllib3 -BuildRequires: python%{?fedora:2}-tornado -BuildRequires: python%{?fedora:2}-eventlet -BuildRequires: python%{?fedora:2}-freezegun -BuildRequires: python%{?fedora:2}-redis %if 0%{?epel} == 6 # Need unittest2 to get the 'skip' decorator BuildRequires: python-unittest2 @@ -77,17 +65,6 @@ Requires: python%{python3_pkgversion}-six BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools -# For tests -BuildRequires: python%{python3_pkgversion}-httplib2 -BuildRequires: python%{python3_pkgversion}-mock -BuildRequires: python%{python3_pkgversion}-nose -BuildRequires: python%{python3_pkgversion}-requests -BuildRequires: python%{python3_pkgversion}-sure -BuildRequires: python%{python3_pkgversion}-urllib3 -BuildRequires: python%{python3_pkgversion}-tornado -BuildRequires: python%{python3_pkgversion}-eventlet -BuildRequires: python%{python3_pkgversion}-freezegun -BuildRequires: python%{python3_pkgversion}-redis %description -n python3-httpretty Once upon a time a python developer wanted to use a RESTful API, everything was @@ -128,18 +105,6 @@ LANG=C.UTF-8 %py2_install %endif -%check -%if %{run_tests} - -%if %{with python2} -LANG=C.UTF-8 %{__python2} -m nose -v -%endif - -%if %{with_python3} -%{__python3} -m nose -v -%endif - -%endif %if %{with python2}