update package

This commit is contained in:
liqiuyu123 2022-08-08 14:32:46 +08:00
parent f5ca1143bf
commit 53a3226a94
4 changed files with 39 additions and 12 deletions

25
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,25 @@
From b0129def51fede481dcb639373de3614b38f3130 Mon Sep 17 00:00:00 2001
From: liqiuyu123 <liqiuyu@kylinos.cn>
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

View File

@ -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 <liqiuyu@kylinos.cn> - 5.0.2-1
- update to 5.0.2
* Sat Jan 15 2022 wulei <wulei80@huawei.com> - 5.0.0-1
- Package update

Binary file not shown.

BIN
tempora-5.0.2.tar.gz Normal file

Binary file not shown.