From 1ac090295e79cdb5131eb8ab4b8c4a352336a022f1629be58d274d0243a3a02d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 13:44:26 +0000 Subject: [PATCH 1/2] Fix %pytest call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MiniMock?expand=0&rev=26 --- python-MiniMock.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-MiniMock.spec b/python-MiniMock.spec index a7c5b9f..2dc0f2d 100644 --- a/python-MiniMock.spec +++ b/python-MiniMock.spec @@ -1,7 +1,7 @@ # # spec file for package python-MiniMock # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 815c36471c63bc011c3519e4dd149452c56dc0465451ee51766cd7f778265ec6 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Nov 2019 15:00:24 +0000 Subject: [PATCH 2/2] Run through spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MiniMock?expand=0&rev=27 --- python-MiniMock.changes | 5 +++++ python-MiniMock.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-MiniMock.changes b/python-MiniMock.changes index 81cb378..c564556 100644 --- a/python-MiniMock.changes +++ b/python-MiniMock.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 7 15:00:03 UTC 2019 - Matej Cepl + +- Run through spec-cleaner + ------------------------------------------------------------------- Tue Dec 4 12:50:24 UTC 2018 - Matej Cepl diff --git a/python-MiniMock.spec b/python-MiniMock.spec index 2dc0f2d..acc6d87 100644 --- a/python-MiniMock.spec +++ b/python-MiniMock.spec @@ -23,8 +23,7 @@ Version: 1.2.8 Release: 0 Summary: A mock library for Python License: MIT -Group: Development/Languages/Python -URL: http://pypi.python.org/pypi/MiniMock +URL: https://pypi.python.org/pypi/MiniMock Source: https://files.pythonhosted.org/packages/source/M/MiniMock/MiniMock-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros @@ -58,8 +57,7 @@ python3 -O -m compileall -d %{python3_sitelib} %{buildroot}%{python3_sitelib}/ %python_expand $python -B %{buildroot}%{$python_sitelib}/minimock.py %files %{python_files} -%defattr(-,root,root,-) -%doc docs/license.txt +%license docs/license.txt %pycache_only %{python_sitelib}/__pycache__/* %{python_sitelib}/minimock.py* %{python_sitelib}/MiniMock-%{version}-py%{python_version}.egg-info