diff --git a/pifpaf-1.9.2.tar.gz b/pifpaf-1.9.2.tar.gz deleted file mode 100644 index 6556fa7..0000000 --- a/pifpaf-1.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f331252504c3f9d1ad1512a5b93293ac8db52d99c005e6aaa77042bef259905 -size 34899 diff --git a/pifpaf-2.0.0.tar.gz b/pifpaf-2.0.0.tar.gz new file mode 100644 index 0000000..26b928f --- /dev/null +++ b/pifpaf-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b02f62933c10d3062fc785296a69b894e417dc0e0aa74d8609d2862e44363590 +size 191348 diff --git a/python-pifpaf.changes b/python-pifpaf.changes index 4eb22a4..b435810 100644 --- a/python-pifpaf.changes +++ b/python-pifpaf.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Wed Jan 17 06:15:28 UTC 2018 - tbechtold@suse.com + +- update to 2.0.0: + * Replace cliff by click + * Set the Cliff namespace + * Wait logging thread and close the fd + * Use psutil to cleanup process + * Fix travis CI + * swift: use 127.0.0.1 instead of localhost for memcached + * gnocchi: run 4 api processes + * Remove deprecated parameters from server.properties + * gnocchi: allow any workers as possible + * Replace hacking with flake8 extensions + * Update wait\_for\_line for Kafka 1.0.0 server + * Update config for 0.11 kafka server + * Add leseb image in README.rst + * gnocchi: handle virtual env on API + * correct disk name + * create data directory for swift + * Push release to PyPI using Travis + * Fix Python 2 ProcessLookupError + * Handle terminate lookup error + * tests: call setUp to init cleanups + * postgresql: do not call \_exec in \_\_init\_\_ + * Install mock for tests + * Remove not used oslotest dependency + * Fix process cleanup + * Ensure pifpaf kill all processes + * Fix compatibility with Redis 4.0 + +------------------------------------------------------------------- +Fri Jul 28 13:02:13 UTC 2017 - tbechtold@suse.com + +- convert to singlespec + ------------------------------------------------------------------- Fri Jul 28 12:55:57 UTC 2017 - tbechtold@suse.com diff --git a/python-pifpaf.spec b/python-pifpaf.spec index 7ad97df..881463e 100644 --- a/python-pifpaf.spec +++ b/python-pifpaf.spec @@ -1,7 +1,7 @@ # # spec file for package python-pifpaf # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,31 +16,36 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pifpaf -Version: 1.9.2 +Version: 2.0.0 Release: 0 Summary: Suite of tools and fixtures to manage daemons for testing License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/jd/pifpaf Source: https://pypi.io/packages/source/p/pifpaf/pifpaf-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-pbr -Requires: python-cliff +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pbr} +BuildRequires: python-rpm-macros +Requires: python-Jinja2 +Requires: python-click Requires: python-daiquiri Requires: python-fixtures -Requires: python-os-testr -Requires: python-oslotest +Requires: python-mock +Requires: python-psutil Requires: python-requests Requires: python-six -Requires: python-stevedore -Requires: python-tenacity Requires: python-testrepository Requires: python-testtools Requires: python-xattr BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch +%python_subpackages + %description Pifpaf is a suite of `fixtures`_ and a command-line tool that allows to start and stop daemons for a quick throw-away usage. This is typically useful when @@ -51,15 +56,24 @@ its precussor `overtest`_. %setup -q -n pifpaf-%{version} %build -python setup.py build +export LC_ALL=en_US.utf8 +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +export LC_ALL=en_US.utf8 +%python_install +%python_clone -a %{buildroot}%{_bindir}/pifpaf -%files +%post +%python_install_alternative pifpaf + +%postun +%python_uninstall_alternative pifpaf + +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS ChangeLog LICENSE README.rst %{python_sitelib}/* -%{_bindir}/pifpaf +%python_alternative %{_bindir}/pifpaf %changelog