diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000..82bcd98 --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,25 @@ +From d168176f5b942062208eb6dfd1185dfacb599dad Mon Sep 17 00:00:00 2001 +From: liqiuyu123 +Date: Wed, 7 Dec 2022 16:24:54 +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/jaraco.functools-3.0.1.tar.gz b/jaraco.functools-3.0.1.tar.gz deleted file mode 100644 index 603ab7f..0000000 Binary files a/jaraco.functools-3.0.1.tar.gz and /dev/null differ diff --git a/jaraco.functools-3.5.2.tar.gz b/jaraco.functools-3.5.2.tar.gz new file mode 100644 index 0000000..f4e812f Binary files /dev/null and b/jaraco.functools-3.5.2.tar.gz differ diff --git a/python-jaraco-functools.spec b/python-jaraco-functools.spec index 1045a2f..526034e 100644 --- a/python-jaraco-functools.spec +++ b/python-jaraco-functools.spec @@ -1,13 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-jaraco-functools -Version: 3.0.1 -Release: 3 +Version: 3.5.2 +Release: 1 Summary: Functools like those found in stdlib License: MIT URL: https://pypi.org/project/jaraco.functools/ -Source0: https://files.pythonhosted.org/packages/89/e1/773ecbf42ada8dc31459837c76316478df975cf6d9fcc171075548bd7cac/jaraco.functools-3.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/b4/ea/9abca360081de9157668fcc52765989158aaf29b4826f26fcb17852d08e6/jaraco.functools-3.5.2.tar.gz +Patch0: 0001-add-setup.py.patch BuildArch: noarch -Recommends: %{name}-help = %{version}-%{release} Requires: python3-more-itertools Requires: python3-sphinx @@ -23,7 +23,7 @@ Functools like those found in stdlib %package -n python3-jaraco-functools Summary: Functools like those found in stdlib -Provides: python-jaraco-functools +Provides: python-jaraco-functools = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm @@ -38,7 +38,8 @@ Provides: python3-jaraco-functools-doc Documentation for jaraco-functools %prep -%autosetup -n jaraco.functools-3.0.1 +%autosetup -n jaraco.functools-%{version} +%patch0 %build %py3_build @@ -72,16 +73,15 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-jaraco-functools -f filelist.lst -%exclude %{python3_sitelib}/jaraco/__init__* -%exclude %{python3_sitelib}/jaraco/__pycache__/__init__* -%{python3_sitelib}/jaraco/functools* -%{python3_sitelib}/jaraco/__pycache__/functools* -%{python3_sitelib}/jaraco.functools-%{version}-py%{python3_version}.egg-info +%dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Dec 01 2022 liqiuyu - 3.5.2-1 +- Update package to version 3.5.2 + * Sat Apr 02 2022 xigaoxinyan - 3.0.1-3 - Fix build error caused by py3.10+ wildcard