diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c5de0ac --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2015 Geoffrey Sneddon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/python-pytest-expect.changes b/python-pytest-expect.changes index 6b9b5f7..b96a95c 100644 --- a/python-pytest-expect.changes +++ b/python-pytest-expect.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 14 12:44:58 UTC 2019 - Tomáš Chvátal + +- Fix source url +- Drop the check part as there are no tests at all even in git repo +- Add missing six dependency + ------------------------------------------------------------------- Fri Mar 31 18:00:44 UTC 2017 - aloisio@gmx.com diff --git a/python-pytest-expect.spec b/python-pytest-expect.spec index b2bc1b0..599a7da 100644 --- a/python-pytest-expect.spec +++ b/python-pytest-expect.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-expect # -# Copyright (c) 2017 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,17 +23,15 @@ Release: 0 Summary: Py.test plugin to store test expectations and mark tests based on them License: MIT Group: Development/Languages/Python -Url: https://github.com/gsnedders/pytest-expect -Source: https://pypi.io/packages/source/p/pytest-expect/pytest-expect-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module pytest} +URL: https://github.com/gsnedders/pytest-expect +Source: https://files.pythonhosted.org/packages/source/p/pytest-expect/pytest-expect-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/gsnedders/pytest-expect/master/LICENSE BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module u-msgpack-python} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest +Requires: python-six Requires: python-u-msgpack-python -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -47,9 +45,9 @@ use ASCII characters in their node ids: this likely isn’t a limitation if tests are using the normal Python format, as Python 2 only allows ASCII characters in identifiers. - %prep %setup -q -n pytest-expect-%{version} +cp %{SOURCE1} . %build %python_build @@ -58,11 +56,8 @@ ASCII characters in identifiers. %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%check -%python_exec setup.py test - %files %{python_files} -%defattr(-,root,root,-) +%license LICENSE %doc README.rst %{python_sitelib}/pytest_expect %{python_sitelib}/pytest_expect-%{version}-py%{python_version}.egg-info