Accepting request 785242 from devel:languages:python

- No need to fetch license anymore, it is in the tarball

OBS-URL: https://build.opensuse.org/request/show/785242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parse?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2020-03-16 09:19:44 +00:00 committed by Git OBS Bridge
commit 6b94225e14
3 changed files with 6 additions and 23 deletions

19
LICENSE
View File

@ -1,19 +0,0 @@
Copyright (c) 2012-2019 Richard Jones <richard@python.org>
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.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 15 09:40:27 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- No need to fetch license anymore, it is in the tarball
-------------------------------------------------------------------
Wed Mar 11 15:18:17 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -25,8 +25,6 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/r1chardj0n3s/parse
Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
# https://github.com/r1chardj0n3s/parse/issues/82
Source1: https://raw.githubusercontent.com/r1chardj0n3s/parse/master/LICENSE
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -39,7 +37,6 @@ Parse strings using a specification based on the Python format() syntax.
%prep
%setup -q -n parse-%{version}
chmod a-x README.rst
cp %{SOURCE1} .
%build
%python_build
@ -49,7 +46,7 @@ cp %{SOURCE1} .
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test -v
%python_exec -m unittest discover -v
%files %{python_files}
%license LICENSE