diff --git a/deps-cleanup.diff b/deps-cleanup.diff new file mode 100644 index 0000000..2e02647 --- /dev/null +++ b/deps-cleanup.diff @@ -0,0 +1,13 @@ +--- requirements.pip ++++ requirements.pip +@@ -7,6 +7,6 @@ + requests==1.1.0 + steadymark==0.4.5 + sure>=1.2.1 +-tornado==2.4 +-tox==1.4.2 +-urllib3 +\ No newline at end of file ++tornado ++tox ++urllib3 diff --git a/httpretty-0.6.4.tar.gz b/httpretty-0.6.4.tar.gz deleted file mode 100644 index 3d81b94..0000000 --- a/httpretty-0.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a82fb04dcc8648d789aac066ccf435f515414536d01d560c7145204115b71f18 -size 10249 diff --git a/httpretty-0.7.0.tar.gz b/httpretty-0.7.0.tar.gz new file mode 100644 index 0000000..8a6f0be --- /dev/null +++ b/httpretty-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a422a74fe0f35fbb644c9a3a0a4ccb7a7469a8f5bae2d7c807d35a7d149d3fa6 +size 28066 diff --git a/python-httpretty.changes b/python-httpretty.changes index 2905a75..f4a0870 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Oct 28 13:09:26 UTC 2013 - speilicke@suse.com + +- Don't install global "tests" module into python_sitelib + +------------------------------------------------------------------- +Mon Oct 21 12:22:31 UTC 2013 - dmueller@suse.com + +- update to 0.7.0: + * Refactored core.py and increased its unit test coverage to 80%. + HTTPretty is slightly more robust now + ------------------------------------------------------------------- Thu Sep 26 13:30:37 UTC 2013 - dmueller@suse.com diff --git a/python-httpretty.spec b/python-httpretty.spec index 1e25746..9a6c739 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -17,13 +17,14 @@ Name: python-httpretty -Version: 0.6.4 +Version: 0.7.0 Release: 0 Summary: HTTP client mock for Python License: MIT Group: Development/Languages/Python Url: http://github.com/gabrielfalcao/httpretty Source: https://pypi.python.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz +Patch0: deps-cleanup.diff BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,12 +40,14 @@ unit tests. %prep %setup -q -n httpretty-%{version} +%patch0 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +rm -r %{buildroot}%{python_sitelib}/tests # Remove global "tests" module %files %defattr(-,root,root,-)