diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..8a87f06e9d58981349da2ecb4272a5544523510c --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +id-1.5.0.tar.gz +python-id.spec diff --git a/id-1.5.0.tar.gz b/id-1.5.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e031cc1be354bb04bc439c13f286c162bcc1e616 Binary files /dev/null and b/id-1.5.0.tar.gz differ diff --git a/python-id.spec b/python-id.spec new file mode 100644 index 0000000000000000000000000000000000000000..da332f7dde9e52e64dc006cfbcaab5a0fd4850f7 --- /dev/null +++ b/python-id.spec @@ -0,0 +1,56 @@ +Name: python-id +Version: 1.5.0 +Release: 1 +Summary: A tool for generating OIDC identities + +License: Apache-2.0 +URL: https://github.com/di/id +Source: %{pypi_source id} + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-flit-core +BuildRequires: python3-pytest +BuildRequires: python3-pretend +BuildRequires: python3-requests + + +%global _description %{expand: +id is a Python tool for generating OIDC identities. It can automatically +detect and produce OIDC credentials on a number of environments, +including GitHub Actions, GitLab pipelines and Google Cloud.} + +%description %_description + +%package -n python3-id +Summary: %{summary} + +%description -n python3-id %_description + +%prep +%autosetup -p1 -n id-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%check +%pytest + + +%files -n python3-id +%license LICENSE +%doc README.md +%{python3_sitelib}/id +%{python3_sitelib}/id-*.dist-info/ + + +%changelog +* Fri Mar 14 2025 Dongxing Wang - 1.5.0-1 +- package init diff --git a/python-id.src.rpm b/python-id.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..a63a9a8e8f955ea4e43a65fd2a019ff061cccf89 Binary files /dev/null and b/python-id.src.rpm differ