add: shippinglabel (#10541)

Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
Owen Zimmerman
2026-03-15 04:25:23 -07:00
committed by GitHub
parent 677b83ab88
commit ff03a78820
3 changed files with 52 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "shippinglabel.spec"
}
}
@@ -0,0 +1,45 @@
%global pypi_name shippinglabel
%global _desc Utilities for handling packages.
Name: python-%{pypi_name}
Version: 2.3.0
Release: 1%?dist
Summary: Utilities for handling packages
License: MIT
URL: https://shippinglabel.readthedocs.io/en/latest/
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-hatch-requirements-txt
Packager: Owen Zimmerman <owen@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 %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files shippinglabel
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%license LICENSE
%changelog
* Sat Mar 14 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("shippinglabel"));