diff --git a/LICENSE b/LICENSE deleted file mode 100644 index ec936c5..0000000 --- a/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2004-2017 Barry Warsaw - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/flufl.lock-3.2.tar.gz b/flufl.lock-3.2.tar.gz deleted file mode 100644 index a75da46..0000000 --- a/flufl.lock-3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a8d66accc9ab41f09961cd8f8db39f9c28e97e2769659a3567c63930a869ff5b -size 19250 diff --git a/flufl.lock-5.0.4.tar.gz b/flufl.lock-5.0.4.tar.gz new file mode 100644 index 0000000..4ffe0a6 --- /dev/null +++ b/flufl.lock-5.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09ffef831d57c4d182e398e97bb74ad8c8ffbd1710175a5a0b0f057095db12f1 +size 29486 diff --git a/python-flufl.lock-fix-setup.patch b/python-flufl.lock-fix-setup.patch new file mode 100644 index 0000000..1b49163 --- /dev/null +++ b/python-flufl.lock-fix-setup.patch @@ -0,0 +1,10 @@ +Index: flufl.lock-5.0.4/setup.cfg +=================================================================== +--- flufl.lock-5.0.4.orig/setup.cfg 2021-01-02 03:42:37.032559900 +0100 ++++ flufl.lock-5.0.4/setup.cfg 2021-02-11 09:11:24.784359755 +0100 +@@ -1,5 +1,4 @@ + [tool:pytest] +-addopts = --cov=flufl + testpaths = test docs + + [flake8] diff --git a/python-flufl.lock.changes b/python-flufl.lock.changes index 33b64a5..c20f151 100644 --- a/python-flufl.lock.changes +++ b/python-flufl.lock.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 11 07:45:45 UTC 2021 - Andreas Schneider + +- Update to version 5.0.4 + * https://gitlab.com/warsaw/flufl.lock/-/blob/5.0.4/docs/NEWS.rst +- Removed LICENSE (part of the tarball now) +- Added python-flufl.lock-fix-setup.patch + ------------------------------------------------------------------- Mon Dec 2 10:47:12 UTC 2019 - pgajdos@suse.com diff --git a/python-flufl.lock.spec b/python-flufl.lock.spec index 6dec82b..b3712d4 100644 --- a/python-flufl.lock.spec +++ b/python-flufl.lock.spec @@ -1,7 +1,7 @@ # # spec file for package python-flufl.lock # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,33 +19,35 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-flufl.lock -Version: 3.2 +Version: 5.0.4 Release: 0 -Summary: NFS-safe file locking with timeouts for POSIX systems +Summary: NFS-safe file locking with timeouts for POSIX and Windows License: Apache-2.0 URL: https://flufllock.readthedocs.io -Source0: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl.lock-%{version}.tar.gz -# https://gitlab.com/warsaw/flufl.lock/merge_requests/11 -Source1: https://gitlab.com/warsaw/flufl.lock/raw/master/LICENSE +Source: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl.lock-%{version}.tar.gz +Patch: python-flufl.lock-fix-setup.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-atpublic -BuildArch: noarch +Requires: python-psutil +Suggests: python-typing_extensions # SECTION test requirements BuildRequires: %{python_module atpublic} +BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module sybil} # /SECTION +BuildArch: noarch %python_subpackages %description -NFS-safe file locking with timeouts for POSIX systems. +NFS-safe file locking with timeouts for POSIX and Windows. %prep -%setup -q -n flufl.lock-%{version} +%autosetup -p1 -n flufl.lock-%{version} %build -cp %{SOURCE1} . %python_build %install @@ -56,7 +58,7 @@ cp %{SOURCE1} . %pytest %files %{python_files} -%doc README.rst +%doc README.rst docs/NEWS.rst %license LICENSE %{python_sitelib}/*