summaryrefslogtreecommitdiff
path: root/python-click.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-click.spec')
-rw-r--r--python-click.spec19
1 files changed, 7 insertions, 12 deletions
diff --git a/python-click.spec b/python-click.spec
index e4f7d6d..161864d 100644
--- a/python-click.spec
+++ b/python-click.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Composable command line interface toolkit
License: BSD
URL: https://palletsprojects.com/p/click/
-Source0: %{pypi_source click}
+Source0: https://files.pythonhosted.org/packages/dd/cf/706c1ad49ab26abed0b77a2f867984c1341ed7387b8030a6aa914e2942a0/click-8.0.4.tar.gz
BuildArch: noarch
%description
Click is a Python package for creating beautiful command line interfaces
@@ -22,9 +22,7 @@ BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
-# General requires
BuildRequires: python3-colorama
-# General requires
Requires: python3-colorama
%description -n python3-click
Click is a Python package for creating beautiful command line interfaces
@@ -45,11 +43,11 @@ with sensible defaults out of the box.
%autosetup -n click-%{version}
%build
-%pyproject_build
+%py3_build
-%install
-%pyproject_install
+%install
+%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@@ -81,17 +79,14 @@ mv %{buildroot}/doclist.lst .
%files -n python3-click -f filelist.lst
%dir %{python3_sitelib}/*
-%{python3_sitelib}/click/__pycache__/*
+
%files help -f doclist.lst
%{_docdir}/*
%changelog
-* Tue Dec 26 2023 liyanan <liyanan@h-partners.com> - 8.1.7-1
-- Upgrade package python3-click to version 8.1.7
-
-* Thu May 19 2022 OpenStack_SIG <openstack@openeuler.org> - 8.0.4-1
-- Upgrade package python3-click to version 8.0.4
+* Fri Oct 21 2022 Ge Wang <wangge20@h-partners.com> - 8.0.4-1
+- Upgrade to version 8.0.4
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 7.1.2-1
- Upgrade to version 7.1.2