diff --git a/0001-add-setup.py-file.patch b/0001-add-setup.py-file.patch new file mode 100644 index 0000000000000000000000000000000000000000..f65a1de09fc43087a6eee403931e01c4b017aeee --- /dev/null +++ b/0001-add-setup.py-file.patch @@ -0,0 +1,28 @@ +From d5fb0d492700901a26fe1d9c7421adb8eceeee24 Mon Sep 17 00:00:00 2001 +From: jxy_git +Date: Mon, 20 Mar 2023 17:46:03 +0800 +Subject: [PATCH] Add setup.py file + +--- + setup.py | 9 +++++++++ + 1 file changed, 9 insertions(+) + create mode 100644 setup.py + +diff --git a/setup.py b/setup.py +new file mode 100644 +index 0000000..26251c6 +--- /dev/null ++++ b/setup.py +@@ -0,0 +1,9 @@ ++#!/usr/bin/env python ++ ++from setuptools import setup ++ ++if __name__ == "__main__": ++ setup( ++ name = "argh", ++ version = "0.28.1", ++) +-- +2.33.0 + diff --git a/argh-0.26.2.tar.gz b/argh-0.26.2.tar.gz deleted file mode 100644 index 6f26452d47f8ab4f539351764aa5bf21e544e946..0000000000000000000000000000000000000000 Binary files a/argh-0.26.2.tar.gz and /dev/null differ diff --git a/argh-0.28.1.tar.gz b/argh-0.28.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6c635aa4446d5841eb9085ae944823789deb0215 Binary files /dev/null and b/argh-0.28.1.tar.gz differ diff --git a/python-argh.spec b/python-argh.spec index f379d2a4dbbdf8bec47aa680d3e432404c14b162..c6f49e3f7ecefaa8309cedee6dfc0a0fe7f21389 100644 --- a/python-argh.spec +++ b/python-argh.spec @@ -1,20 +1,21 @@ %global _empty_manifest_terminate_build 0 Name: python-argh -Version: 0.26.2 +Version: 0.28.1 Release: 1 Summary: An unobtrusive argparse wrapper with natural syntax -License: GNU Lesser General Public License (LGPL), Version 3 +License: LGPL-3.0 and GPL-3.0 URL: http://github.com/neithere/argh/ -Source0: https://files.pythonhosted.org/packages/e3/75/1183b5d1663a66aebb2c184e0398724b624cecd4f4b679cb6e25de97ed15/argh-0.26.2.tar.gz +Source0: https://github.com/neithere/argh/archive/refs/tags/v%{version}.tar.gz#/argh-%{version}.tar.gz BuildArch: noarch +Patch0: 0001-add-setup.py-file.patch %description Argh: The Natural CLI %package -n python3-argh Summary: An unobtrusive argparse wrapper with natural syntax -Provides: python-argh +Provides: python-argh = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-argh @@ -27,7 +28,7 @@ Provides: python3-argh-doc Argh: The Natural CLI %prep -%autosetup -n argh-0.26.2 +%autosetup -p1 -n argh-%{version} %build %py3_build @@ -67,5 +68,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Jul 06 2020 Python_Bot +* Mon Mar 20 2023 jiangxinyu - 0.28.1-1 +- Update package to version 0.28.1 + +* Mon Jul 06 2020 Python_Bot - 0.26.2-1 - Package Spec generated