From 01de2c72133d09b82d0de3a530928bb9212473fc5d7a0cb0f1fbbd81e179e168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 15 Mar 2020 09:41:46 +0000 Subject: [PATCH] - No need to fetch license anymore, it is in the tarball OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parse?expand=0&rev=17 --- LICENSE | 19 ------------------- python-parse.changes | 5 +++++ python-parse.spec | 5 +---- 3 files changed, 6 insertions(+), 23 deletions(-) delete mode 100644 LICENSE diff --git a/LICENSE b/LICENSE deleted file mode 100644 index e448c67..0000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012-2019 Richard Jones - -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. diff --git a/python-parse.changes b/python-parse.changes index 1f9c6b9..9324428 100644 --- a/python-parse.changes +++ b/python-parse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 15 09:40:27 UTC 2020 - Tomáš Chvátal + +- No need to fetch license anymore, it is in the tarball + ------------------------------------------------------------------- Wed Mar 11 15:18:17 UTC 2020 - Marketa Calabkova diff --git a/python-parse.spec b/python-parse.spec index 3879e6d..d7bf107 100644 --- a/python-parse.spec +++ b/python-parse.spec @@ -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