14
0

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
This commit is contained in:
Denisart Benjamin
2013-12-08 16:24:45 +00:00
committed by Git OBS Bridge
parent 110373c31a
commit 3bde18a439
6 changed files with 20 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b09914039f2fc6abfaf4f37f19c406ab7e7077de202131dc0e12e5beed03351
size 16782

3
mockito-0.5.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0e363716a348fb99f185401733313ac041475b75d79110705df71029d418fbe
size 18681

View File

@@ -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:

View File

@@ -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

View File

@@ -1 +0,0 @@
addFilter("non-executable-script")

View File

@@ -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}/*