diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..53ca05e248b2a4afcac9efc8fcc6e43a6e5ff8c7 --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,25 @@ +From b0129def51fede481dcb639373de3614b38f3130 Mon Sep 17 00:00:00 2001 +From: liqiuyu123 +Date: Mon, 8 Aug 2022 14:30:17 +0800 +Subject: [PATCH] add setup.py + +--- + setup.py | 6 ++++++ + 1 file changed, 6 insertions(+) + create mode 100644 setup.py + +diff --git a/setup.py b/setup.py +new file mode 100644 +index 0000000..bac24a4 +--- /dev/null ++++ b/setup.py +@@ -0,0 +1,6 @@ ++#!/usr/bin/env python ++ ++import setuptools ++ ++if __name__ == "__main__": ++ setuptools.setup() +-- +2.37.1.windows.1 + diff --git a/python-tempora.spec b/python-tempora.spec index ffa524d30a8c3ecd06094b46124abfafb452783a..02d349cfa24fc73fa586011f552d840a2c421235 100644 --- a/python-tempora.spec +++ b/python-tempora.spec @@ -1,22 +1,25 @@ %global _empty_manifest_terminate_build 0 Name: python-tempora -Version: 5.0.0 +Version: 5.0.2 Release: 1 Summary: Objects and routines pertaining to date and time (tempora) -License: MIT -URL: https://pypi.org/project/tempora -Source0: https://files.pythonhosted.org/packages/33/b0/8041336531c24c411dfe9681734ab7f83c0e0b081a2b3800870c7425ce60/tempora-5.0.0.tar.gz +License: MIT License +URL: https://github.com/jaraco/tempora +Source0: https://files.pythonhosted.org/packages/72/2c/9aff4204a4ea5172b0cb3508f8a504ab6562ba539825ea2e33a5b4cb629b/tempora-5.0.2.tar.gz +Patch0: 0001-add-setup.py.patch BuildArch: noarch -Recommends: %{name}-help = %{version}-%{release} -Requires: python3-pytz +Requires: python3-pytz Requires: python3-sphinx Requires: python3-pytest Requires: python3-pytest-checkdocs Requires: python3-pytest-flake8 Requires: python3-pytest-cov +Requires: python3-pytest-enabler Requires: python3-freezegun Requires: python3-pytest-freezegun +Requires: python3-types-freezegun +Requires: python3-types-pytz Requires: python3-pytest-black Requires: python3-pytest-mypy @@ -28,22 +31,18 @@ Summary: Objects and routines pertaining to date and time (tempora) Provides: python-tempora BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm -BuildRequires: python3-toml - %description -n python3-tempora Objects and routines pertaining to date and time (tempora). %package help Summary: Development documents and examples for tempora Provides: python3-tempora-doc - %description help Objects and routines pertaining to date and time (tempora). - %prep -%autosetup -n tempora-5.0.0 +%autosetup -n tempora-5.0.2 +%patch0 %build %py3_build @@ -83,6 +82,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 08 2022 liqiuyu - 5.0.2-1 +- update to 5.0.2 + * Sat Jan 15 2022 wulei - 5.0.0-1 - Package update diff --git a/tempora-5.0.0.tar.gz b/tempora-5.0.0.tar.gz deleted file mode 100644 index a60803f00ba9cccc97fe8a07b9e09eab7425c5f3..0000000000000000000000000000000000000000 Binary files a/tempora-5.0.0.tar.gz and /dev/null differ diff --git a/tempora-5.0.2.tar.gz b/tempora-5.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..24d812acd231de75dfe60f39ecc0a4e86a0e87a2 Binary files /dev/null and b/tempora-5.0.2.tar.gz differ