From b021bc989caa8d56f45e433948da45c2d04abe39fc3d7fdf779860253fdb1a1f Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 17 Jan 2014 10:23:44 +0000 Subject: [PATCH 1/2] - Drop python-pip build-requires, it's only used at runtime to bootstrap the venv (until it has it's own pip binary). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=10 --- httpretty-0.7.0.tar.gz | 3 --- httpretty-0.7.1.tar.gz | 3 +++ python-httpretty.changes | 6 ++++++ python-httpretty.spec | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 httpretty-0.7.0.tar.gz create mode 100644 httpretty-0.7.1.tar.gz diff --git a/httpretty-0.7.0.tar.gz b/httpretty-0.7.0.tar.gz deleted file mode 100644 index 8a6f0be..0000000 --- a/httpretty-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a422a74fe0f35fbb644c9a3a0a4ccb7a7469a8f5bae2d7c807d35a7d149d3fa6 -size 28066 diff --git a/httpretty-0.7.1.tar.gz b/httpretty-0.7.1.tar.gz new file mode 100644 index 0000000..a4ad7b3 --- /dev/null +++ b/httpretty-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0f61cd3fbdffd28a556f8fd5eff703ad3c5c76cf0c39ab8bc136f38d0a71857 +size 28394 diff --git a/python-httpretty.changes b/python-httpretty.changes index f4a0870..291e0b1 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 17 10:22:22 UTC 2014 - speilicke@suse.com + +- Update to version 0.7.1: + + Bug fix: POST requests being called twice #100 + ------------------------------------------------------------------- Mon Oct 28 13:09:26 UTC 2013 - speilicke@suse.com diff --git a/python-httpretty.spec b/python-httpretty.spec index 9a6c739..8a5e9c2 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -1,7 +1,7 @@ # # spec file for package python-httpretty # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-httpretty -Version: 0.7.0 +Version: 0.7.1 Release: 0 Summary: HTTP client mock for Python License: MIT From 96836dd1ac6552eeb14d9182f4ca1acc553282fe48e527f9ca601f805e12b7c2 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 17 Jan 2014 10:28:12 +0000 Subject: [PATCH 2/2] - Rebased deps-cleanup.diff OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=11 --- deps-cleanup.diff | 15 ++++++++------- python-httpretty.changes | 1 + python-httpretty.spec | 3 ++- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/deps-cleanup.diff b/deps-cleanup.diff index 2e02647..0de64c3 100644 --- a/deps-cleanup.diff +++ b/deps-cleanup.diff @@ -1,13 +1,14 @@ ---- requirements.pip -+++ requirements.pip -@@ -7,6 +7,6 @@ +diff -ruN a/requirements.txt b/requirements.txt +--- a/requirements.txt 2013-12-12 17:45:55.000000000 +0100 ++++ b/requirements.txt 2014-01-17 11:26:48.142281366 +0100 +@@ -22,8 +22,8 @@ requests==1.1.0 + speakers==0.0.3 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 + virtualenv==1.8.2 + Werkzeug==0.9.1 + sure==1.2.2 diff --git a/python-httpretty.changes b/python-httpretty.changes index 291e0b1..bceded4 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -3,6 +3,7 @@ Fri Jan 17 10:22:22 UTC 2014 - speilicke@suse.com - Update to version 0.7.1: + Bug fix: POST requests being called twice #100 +- Rebased deps-cleanup.diff ------------------------------------------------------------------- Mon Oct 28 13:09:26 UTC 2013 - speilicke@suse.com diff --git a/python-httpretty.spec b/python-httpretty.spec index 8a5e9c2..bd0039c 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -24,6 +24,7 @@ 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 +# PATCH-FIX-OPENSUSE speilicke@suse.com -- Don't require fixed versions Patch0: deps-cleanup.diff BuildRequires: python-devel BuildRequires: python-setuptools @@ -40,7 +41,7 @@ unit tests. %prep %setup -q -n httpretty-%{version} -%patch0 +%patch0 -p1 %build python setup.py build