Skip to content

Commit

Permalink
Rebuild python-requests with PEP-517 macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Oct 7, 2024
1 parent 53892f9 commit 3892e02
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/python-requests/python-requests.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@

# Created by pyp2rpm-3.3.3
%global pypi_name requests
%{?python_disable_dependency_generator}

Name: python-%{pypi_name}
Version: 2.32.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Python HTTP for Humans

License: Apache 2.0
Expand All @@ -16,7 +15,10 @@ Source0: https://files.pythonhosted.org/packages/source/r/%{pypi_name}/%{
BuildArch: noarch

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel
BuildRequires: pyproject-rpm-macros


%description
Expand All @@ -43,28 +45,26 @@ Requires: python%{python3_pkgversion}-urllib3 >= 1.21.1
%prep
set -ex
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info


%build
set -ex
%py3_build
%pyproject_wheel


%install
set -ex
%py3_install

%pyproject_install

%files -n python%{python3_pkgversion}-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/


%changelog
* Mon Oct 07 2024 Odilon Sousa <[email protected]> - 2.32.3-2
- Rebuild package using PEP-517 macros

* Thu Oct 03 2024 Foreman Packaging Automation <[email protected]> - 2.32.3-1
- Update to 2.32.3

Expand Down

0 comments on commit 3892e02

Please sign in to comment.