diff --git a/python-crontab-2.5.1.tar.gz b/python-crontab-2.5.1.tar.gz new file mode 100644 index 0000000..938f465 --- /dev/null +++ b/python-crontab-2.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bbe7e720753a132ca4ca9d4094915f40e9d9dc8a807a4564007651018ce8c31 +size 52573 diff --git a/python-crontab-v2.4.0.tar.gz b/python-crontab-v2.4.0.tar.gz deleted file mode 100644 index caf64ad..0000000 --- a/python-crontab-v2.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23bde8abd9b7c3bdf4f871311efdeaf91b0593bb1a5579224edc2d468d1a36fc -size 45436 diff --git a/python-python-crontab.changes b/python-python-crontab.changes index 2a56aab..5877e59 100644 --- a/python-python-crontab.changes +++ b/python-python-crontab.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Aug 5 14:02:32 UTC 2020 - Marketa Calabkova + +- update to 2.5.1 + * Update crontab class to allow with context manager + * Convert file to unix format + * add support for percent sign stdin and escaping + ------------------------------------------------------------------- Mon Mar 23 11:22:46 UTC 2020 - pgajdos@suse.com diff --git a/python-python-crontab.spec b/python-python-crontab.spec index 5ad1dc4..0f502f8 100644 --- a/python-python-crontab.spec +++ b/python-python-crontab.spec @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-crontab -Version: 2.4.0 +Version: 2.5.1 Release: 0 Summary: Python Crontab API License: LGPL-3.0-only Group: Development/Languages/Python URL: https://gitlab.com/doctormo/python-crontab/ -# https://gitlab.com/doctormo/python-crontab/-/issues/69 -Source: https://gitlab.com/doctormo/python-crontab/-/archive/v%{version}/python-crontab-v%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/python-crontab/python-crontab-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -50,7 +49,7 @@ Crontab module for reading and writing crontab files and accessing the system cron automatically using an API. %prep -%setup -q -n python-crontab-v%{version} +%setup -q -n python-crontab-%{version} %build %python_build @@ -60,8 +59,9 @@ accessing the system cron automatically using an API. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# test_07_non_posix_shell - only for Windows export LANG=en_US.UTF-8 -%pytest +%pytest -k "not test_07_non_posix_shell" %files %{python_files} %doc README.rst