Files
packages/anda/langs/python/wget/wget.spec
T
Raboneko 837b8d0fb2 fix: python-wget (#12601) (#12603)
* fix: python-wget



* question mark



* rah rah



---------


(cherry picked from commit 7eeeab39db)

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-05-25 00:46:36 -05:00

51 lines
1.2 KiB
RPMSpec

%global pypi_name wget
%global _desc Pure Python download utility.
%global commit fdd3a0f8404ccab90f939f9952af139e6c55142a
%global commit_date 20141004
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: python-%{pypi_name}
Version: 3.2^%{commit_date}git%{shortcommit}
Release: 1%{?dist}
Summary: Pure Python download utility
License: LicenseRef-Fedora-Public-Domain
URL: https://pypi.org/project/wget/
Source0: https://github.com/steveej/python-wget/archive/%commit/python-wget-%commit.zip
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-importlib-metadata
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
Packager: Its-J <jonah@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n %{name}-%{commit}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files wget
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.txt
%changelog
* Sun May 24 2026 Its-J <jonah@fyralabs.com>
- Initial commit