From 37f47089111b0b80cff8de26527ade34e796e507b9fe158b23bc869408172321 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Fri, 31 Mar 2017 16:58:08 +0000 Subject: [PATCH] Accepting request 484217 from home:alois:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/484217 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-process-tests?expand=0&rev=3 --- process-tests-1.2.0.tar.gz | 3 --- process-tests-1.2.1.tar.gz | 3 +++ python-process-tests.changes | 6 ++++++ python-process-tests.spec | 38 +++++++++++++++++++++--------------- 4 files changed, 31 insertions(+), 19 deletions(-) delete mode 100644 process-tests-1.2.0.tar.gz create mode 100644 process-tests-1.2.1.tar.gz diff --git a/process-tests-1.2.0.tar.gz b/process-tests-1.2.0.tar.gz deleted file mode 100644 index 9e67343..0000000 --- a/process-tests-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a093dd1cb9828b43bf1a732e7221eeda6e1447651f8151c3a6b0087968a7c57 -size 5478 diff --git a/process-tests-1.2.1.tar.gz b/process-tests-1.2.1.tar.gz new file mode 100644 index 0000000..f6e51f3 --- /dev/null +++ b/process-tests-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65c9d7a0260f31c15b4a22a851757e61f7072d0557db5f8a976112fbe81ff7e9 +size 5497 diff --git a/python-process-tests.changes b/python-process-tests.changes index 5a1995c..57d28a2 100644 --- a/python-process-tests.changes +++ b/python-process-tests.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 31 15:05:13 UTC 2017 - aloisio@gmx.com + +- Updated to 1.2.1 +- Converted to single-spec + ------------------------------------------------------------------- Wed Oct 21 09:17:16 UTC 2015 - hpj@urpla.net diff --git a/python-process-tests.spec b/python-process-tests.spec index 4792b3c..9befc92 100644 --- a/python-process-tests.spec +++ b/python-process-tests.spec @@ -1,7 +1,7 @@ # # spec file for package python-process-tests # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -14,40 +14,46 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-process-tests -Version: 1.2.0 +Version: 1.2.1 Release: 0 -License: BSD-2-Clause Summary: Tools for testing processes -Url: https://github.com/ionelmc/python-process-tests +License: BSD-2-Clause Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/p/process-tests/process-tests-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +Url: https://github.com/ionelmc/python-process-tests +Source: https://pypi.io/packages/source/p/process-tests/process-tests-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description -Tools for testing processes. +Testcase classes and assertions for testing processes. %prep %setup -q -n process-tests-%{version} +dos2unix LICENSE src/process_tests.egg-info/dependency_links.txt %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst LICENSE -%{python_sitelib}/* +%pycache_only %{python_sitelib}/__pycache__ +%{python_sitelib}/process_tests.py* +%{python_sitelib}/process_tests-%{version}-py%{python_version}.egg-info %changelog