Browse Source

downgrade to 8.0.3

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 5 months ago
parent
commit
4482fc4f90
  1. 73
      SPECS/python-click.spec

73
SPECS/python-click.spec

@ -1,14 +1,14 @@
Name: python-click %global pypi_name click
Version: 8.1.7
Name: python-%{pypi_name}
Version: 8.0.3
Release: 1%{?dist} Release: 1%{?dist}
Summary: Simple wrapper around optparse for powerful command line utilities Summary: Simple wrapper around optparse for powerful command line utilities


License: BSD-3-Clause License: BSD
URL: https://github.com/pallets/click URL: https://github.com/mitsuhiko/click
Source0: %{url}/archive/%{version}/click-%{version}.tar.gz Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz

BuildArch: noarch BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel


%global _description \ %global _description \
click is a Python package for creating beautiful command line\ click is a Python package for creating beautiful command line\
@ -18,82 +18,37 @@ comes with good defaults out of the box.


%description %{_description} %description %{_description}



%package -n python%{python3_pkgversion}-%{pypi_name}
%package -n python%{python3_pkgversion}-click
Summary: %{summary} Summary: %{summary}


%description -n python%{python3_pkgversion}-click %{_description} BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pyproject-rpm-macros


%description -n python%{python3_pkgversion}-%{pypi_name} %{_description}


%prep %prep
%autosetup -n click-%{version} -p1 %autosetup -n %{pypi_name}-%{version} -p1
# Use test dependencies without version locks # Use test dependencies without version locks
sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini sed -i 's|requirements/tests.txt|requirements/tests.in|' tox.ini



%generate_buildrequires %generate_buildrequires
%pyproject_buildrequires -t %pyproject_buildrequires -t



%build %build
%pyproject_wheel %pyproject_wheel



%install %install
%pyproject_install %pyproject_install
%pyproject_save_files click %pyproject_save_files %{pypi_name}



%check %check
%tox %tox



%files -n python%{python3_pkgversion}-%{pypi_name} -f %pyproject_files
%files -n python%{python3_pkgversion}-click -f %pyproject_files
%license LICENSE.rst %license LICENSE.rst
%doc README.rst CHANGES.rst %doc README.rst CHANGES.rst



%changelog %changelog
* Wed Aug 23 2023 Charalampos Stratakis <cstratak@redhat.com> - 8.1.7-1
- Update to 8.1.7
Resolves: rhbz#2220975

* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 8.1.3-4
- Rebuilt for Python 3.12

* Wed Apr 12 2023 Miro Hrončok <mhroncok@redhat.com> - 8.1.3-3
- Fix test failures with pytest 7.3.0

* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Sat Aug 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.1.3-1
- Update to 8.1.3
Resolves: rhbz#2080026

* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 8.1.2-2
- Rebuilt for Python 3.11

* Tue Apr 05 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.1.2-1
- Update to 8.1.2
Resolves: rhbz#2069360

* Wed Mar 02 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.0.4-2
- Unpin pytest version

* Thu Feb 24 2022 Charalampos Stratakis <cstratak@redhat.com> - 8.0.4-1
- Update to 8.0.4
Resolves: rhbz#2056119

* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Fri Nov 05 2021 Karolina Surma <ksurma@redhat.com> - 8.0.3-1 * Fri Nov 05 2021 Karolina Surma <ksurma@redhat.com> - 8.0.3-1
- Update to 8.0.3 - Update to 8.0.3
Resolves: rhbz#2012353 Resolves: rhbz#2012353

Loading…
Cancel
Save