From 3bde18a439f5d6f4bfac008964b3fbe9188d26e85db4eb68c93d4aa885c138e3 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Sun, 8 Dec 2013 16:24:45 +0000
Subject: [PATCH] Accepting request 209841 from
home:posophe:branches:devel:languages:python
- Update to version 0.5.2
+ No changelog available
- Remove redundant %clean section
- Adapt setup.py.patch to upstream changes
- Rename it to respect standard naming conventions
- Remove python-mockito.rpmlintrc; problem of execution bits have
been fixed by upstream
OBS-URL: https://build.opensuse.org/request/show/209841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mockito?expand=0&rev=5
---
mockito-0.5.1.tar.gz | 3 ---
mockito-0.5.2.tar.gz | 3 +++
setup.py.patch => python-mockito-0.5.2-setup.py.patch | 6 +++---
python-mockito.changes | 11 +++++++++++
python-mockito.rpmlintrc | 1 -
python-mockito.spec | 9 +++------
6 files changed, 20 insertions(+), 13 deletions(-)
delete mode 100644 mockito-0.5.1.tar.gz
create mode 100644 mockito-0.5.2.tar.gz
rename setup.py.patch => python-mockito-0.5.2-setup.py.patch (52%)
delete mode 100644 python-mockito.rpmlintrc
diff --git a/mockito-0.5.1.tar.gz b/mockito-0.5.1.tar.gz
deleted file mode 100644
index 46ae20a..0000000
--- a/mockito-0.5.1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2b09914039f2fc6abfaf4f37f19c406ab7e7077de202131dc0e12e5beed03351
-size 16782
diff --git a/mockito-0.5.2.tar.gz b/mockito-0.5.2.tar.gz
new file mode 100644
index 0000000..6afb1ac
--- /dev/null
+++ b/mockito-0.5.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c0e363716a348fb99f185401733313ac041475b75d79110705df71029d418fbe
+size 18681
diff --git a/setup.py.patch b/python-mockito-0.5.2-setup.py.patch
similarity index 52%
rename from setup.py.patch
rename to python-mockito-0.5.2-setup.py.patch
index b6dd5f2..5fae3dc 100644
--- a/setup.py.patch
+++ b/python-mockito-0.5.2-setup.py.patch
@@ -1,5 +1,5 @@
---- a/setup.py 2013-07-18 16:45:32.380000000 +0000
-+++ b/setup.py 2013-07-18 16:45:37.652000000 +0000
+--- a/setup.py
++++ b/setup.py
@@ -1,9 +1,6 @@
#!/usr/bin/env python
# coding: utf-8
@@ -8,5 +8,5 @@
-use_setuptools()
-
try:
- from setuptools import setup
+ from setuptools import setup
except ImportError:
diff --git a/python-mockito.changes b/python-mockito.changes
index 1b70f36..690a163 100644
--- a/python-mockito.changes
+++ b/python-mockito.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Sun Dec 8 16:15:34 UTC 2013 - p.drouand@gmail.com
+
+- Update to version 0.5.2
+ + No changelog available
+- Remove redundant %clean section
+- Adapt setup.py.patch to upstream changes
+- Rename it to respect standard naming conventions
+- Remove python-mockito.rpmlintrc; problem of execution bits have
+ been fixed by upstream
+
-------------------------------------------------------------------
Thu Oct 24 11:08:52 UTC 2013 - speilicke@suse.com
diff --git a/python-mockito.rpmlintrc b/python-mockito.rpmlintrc
deleted file mode 100644
index 3ab64d9..0000000
--- a/python-mockito.rpmlintrc
+++ /dev/null
@@ -1 +0,0 @@
-addFilter("non-executable-script")
diff --git a/python-mockito.spec b/python-mockito.spec
index da90a2d..56048f7 100644
--- a/python-mockito.spec
+++ b/python-mockito.spec
@@ -19,14 +19,14 @@
%define mod_name mockito
Name: python-%{mod_name}
-Version: 0.5.1
+Version: 0.5.2
Release: 0
Url: http://code.google.com/p/mockito-python
Summary: Spying framework
License: MIT
Group: Development/Languages/Python
-Source: %{mod_name}-%{version}.tar.gz
-Patch0: setup.py.patch
+Source: https://pypi.python.org/packages/source/m/mockito/%{mod_name}-%{version}.tar.gz
+Patch0: python-mockito-0.5.2-setup.py.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-nose
@@ -50,9 +50,6 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%{python_sitelib}/*