From 38344a1fd8d264e9e08574bf614156ef408f94a0f5cfc74936b84dfb3a2b3e1d Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 28 Oct 2013 13:10:05 +0000 Subject: [PATCH] - Don't install global "tests" module into python_sitelib OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=8 --- python-httpretty.changes | 5 +++++ python-httpretty.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-httpretty.changes b/python-httpretty.changes index 55b02f4..f4a0870 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-httpretty.spec b/python-httpretty.spec index e49734c..9a6c739 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -47,6 +47,7 @@ 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,-)