(cherry picked from commit 52f9838c49)

Co-authored-by: J. <105894089+Its-J@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-05-25 00:31:11 -05:00
committed by GitHub
parent 7834d23a49
commit 9716ce8e11
3 changed files with 54 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "wget.spec"
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("wget"));
+47
View File
@@ -0,0 +1,47 @@
%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
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