diff --git a/0001-add-setup-file.patch b/0001-add-setup-file.patch new file mode 100644 index 0000000..2d2e9fb --- /dev/null +++ b/0001-add-setup-file.patch @@ -0,0 +1,25 @@ +From c6d54531419da1de4c68ed938120f7e9dc73db2c Mon Sep 17 00:00:00 2001 +From: liqiuyu123 +Date: Tue, 9 Aug 2022 16:24:40 +0800 +Subject: [PATCH] add setup file + +--- + 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/path-16.3.0.tar.gz b/path-16.3.0.tar.gz deleted file mode 100644 index fbcf24a..0000000 Binary files a/path-16.3.0.tar.gz and /dev/null differ diff --git a/path-16.4.0.tar.gz b/path-16.4.0.tar.gz new file mode 100644 index 0000000..2cc7542 Binary files /dev/null and b/path-16.4.0.tar.gz differ diff --git a/python-path.spec b/python-path.spec index 979acb4..3da2373 100644 --- a/python-path.spec +++ b/python-path.spec @@ -1,12 +1,13 @@ Name: python-path -Version: 16.3.0 +Version: 16.4.0 Release: 1 Summary: Python module wrapper for path License: MIT -URL: https://pypi.python.org/pypi/path.py -Source0: https://files.pythonhosted.org/packages/63/3c/e7aa896607ec85b9eb722f7258c9e648d8d1224bb14ec437fd5421487401/path-16.3.0.tar.gz +URL: https://github.com/jaraco/path +Source0: https://files.pythonhosted.org/packages/04/b7/076f0188859b31fcdd9b824cfad63b8ec0c2b354497684f90e486ecb4afa/path-16.4.0.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-setuptools python3-pytest python3-setuptools_scm +Patch0: 0001-add-setup-file.patch %description This package implements path objects as first-class entities, @@ -22,6 +23,7 @@ allowing common operations on files to be invoked on those path objects directly %prep %autosetup -n path-%{version} -p1 +%patch0 %build %py3_build @@ -36,6 +38,9 @@ allowing common operations on files to be invoked on those path objects directly %{python3_sitelib}/* %changelog +* Tue Aug 09 2022 liqiuyu - 16.4.0-1 +- Update to 16.4.0 + * Thu Jun 30 2022 caodongxia - 16.3.0-1 - Update to 16.3.0