From 4baf862b534186360bde3a4498665ca17aec359ef0cb2715012fdcdea1406296 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 31 Aug 2023 12:04:48 +0000 Subject: [PATCH] - Update to 1.4.1: * Make a retrocompatible version of 1.4.0 change about supporting VIXIECRON bug. * Added "implement_cron_bug" flag to make the cron parser compatible with a bug in Vixie/ISC Cron. - Switch to pyproject macros. - Actually drop future requirement. - Stop using greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=49 --- croniter-1.3.15.tar.gz | 3 --- croniter-1.4.1.tar.gz | 3 +++ python-croniter.changes | 12 ++++++++++++ python-croniter.spec | 12 +++++++----- 4 files changed, 22 insertions(+), 8 deletions(-) delete mode 100644 croniter-1.3.15.tar.gz create mode 100644 croniter-1.4.1.tar.gz diff --git a/croniter-1.3.15.tar.gz b/croniter-1.3.15.tar.gz deleted file mode 100644 index be59456..0000000 --- a/croniter-1.3.15.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:924a38fda88f675ec6835667e1d32ac37ff0d65509c2152729d16ff205e32a65 -size 41391 diff --git a/croniter-1.4.1.tar.gz b/croniter-1.4.1.tar.gz new file mode 100644 index 0000000..cf14fa7 --- /dev/null +++ b/croniter-1.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a6df60eacec3b7a0aa52a8f2ef251ae3dd2a7c7c8b9874e73e791636d55a361 +size 42301 diff --git a/python-croniter.changes b/python-croniter.changes index ef0d96f..5ae30f7 100644 --- a/python-croniter.changes +++ b/python-croniter.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Aug 31 12:04:22 UTC 2023 - Steve Kowalik + +- Update to 1.4.1: + * Make a retrocompatible version of 1.4.0 change about supporting + VIXIECRON bug. + * Added "implement_cron_bug" flag to make the cron parser compatible + with a bug in Vixie/ISC Cron. +- Switch to pyproject macros. +- Actually drop future requirement. +- Stop using greedy globs in %files. + ------------------------------------------------------------------- Mon Jun 26 07:01:22 UTC 2023 - Andreas Schneider diff --git a/python-croniter.spec b/python-croniter.spec index 56400bc..ed96ae0 100644 --- a/python-croniter.spec +++ b/python-croniter.spec @@ -18,18 +18,19 @@ %{?sle15_python_module_pythons} Name: python-croniter -Version: 1.3.15 +Version: 1.4.1 Release: 0 Summary: Python iterators for datetime objects with cron-like format License: MIT URL: https://github.com/kiorky/croniter Source: https://files.pythonhosted.org/packages/source/c/croniter/croniter-%{version}.tar.gz -BuildRequires: %{python_module future} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 3.0.3} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tzlocal} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip @@ -44,10 +45,10 @@ croniter provides iterators for datetime object with cron-like format. %setup -q -n croniter-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,6 +57,7 @@ croniter provides iterators for datetime object with cron-like format. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/croniter +%{python_sitelib}/croniter-%{version}.dist-info %changelog