diff --git a/fs-2.2.1.tar.gz b/fs-2.2.1.tar.gz deleted file mode 100644 index 6a7a685..0000000 --- a/fs-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2581685468e0e492466170235e1bcda5ed4359c69607c83935afee7d4945ad2d -size 122543 diff --git a/fs-2.4.4.tar.gz b/fs-2.4.4.tar.gz new file mode 100644 index 0000000..4863234 --- /dev/null +++ b/fs-2.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:932b2bf9f76bcc50ebe9711378f7503f71410ddeb1a77754139b886fc5302e4f +size 124012 diff --git a/python-fs.changes b/python-fs.changes index 99221f2..ffac2c6 100644 --- a/python-fs.changes +++ b/python-fs.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Fri Mar 1 09:24:19 UTC 2019 - John Vandenberg + +- Remove unnecessary bcond_without test +- Simplifed build dependencies on scandir and typing +- Fix compatibility Requires for older Python which were using incorrect + comparisons with python_version_nodots, and incorrectly used Recommends +- Update to v2.4.4 + * OSFS fail in nfs mounts +- from 2.4.3 + * Fixed broken "case_insensitive" check + * Fixed Windows test fails +- from 2.4.2 + * Fixed exception when Python runs with -OO +- from 2.4.1 + * Fixed hash method missing from WrapFS +- from 2.4.0 + * Added exclude and filter_dirs arguments to walk + * Micro-optimizations to walk +- from 2.3.1 + * Add encoding check in OSFS.validatepath +- from 2.3.0 + * IllegalBackReference had mangled error message + * Added FS.hash method + ------------------------------------------------------------------- Fri Jan 25 21:31:50 UTC 2019 - Todd R diff --git a/python-fs.spec b/python-fs.spec index a7cceb5..26449fa 100644 --- a/python-fs.spec +++ b/python-fs.spec @@ -16,10 +16,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-fs -Version: 2.2.1 +Version: 2.4.4 Release: 0 Summary: Python's filesystem abstraction layer License: MIT @@ -28,32 +28,35 @@ Url: https://github.com/PyFilesystem/pyfilesystem2 Source: https://files.pythonhosted.org/packages/source/f/fs/fs-%{version}.tar.gz # PATCH-FIX-UPSTREAM more-relaxed-requirements.patch sebix+novell.com@sebix.at -- Weaken the version dependencies Patch0: more-relaxed-requirements.patch -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module appdirs >= 1.4} +BuildRequires: %{python_module appdirs >= 1.4.3} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} -BuildRequires: %{python_module pyftpdlib} BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pyftpdlib} BuildRequires: %{python_module pysendfile} BuildRequires: %{python_module pytz} +BuildRequires: %{python_module scandir >= 1.5} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} +BuildRequires: %{python_module typing} +BuildRequires: fdupes BuildRequires: python-backports.os -BuildRequires: python-typing -%endif -Requires: python-appdirs +BuildRequires: python-rpm-macros +Requires: python-appdirs >= 1.4.3 Requires: python-psutil Requires: python-pytz Requires: python-setuptools -Requires: python-six +Requires: python-six >= 1.10.0 +Requires: python-typing >= 3.6 +Recommends: python-pyftpdlib %ifpython2 Requires: python-backports.os %endif -%if %{python_version_nodots} < 35 -Requires: python-typing -Recommends: python-enum34 +%if %{python_version_nodots} < 34 +Requires: python-enum34 >= 1.1.6 +Recommends: python-pysendfile +%endif +%if %{python3_version_nodots} < 35 Recommends: python-scandir >= 1.5 %endif BuildArch: noarch @@ -78,11 +81,9 @@ any of the supported filesystems (zip, ftp, S3 etc.). %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check export LANG=en_US.UTF-8 %python_exec setup.py test -%endif %files %{python_files} %doc README.md