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