commit 172e76201d1606b975d65dfb1dfed624d3982b8d Author: CentOS Sources Date: Tue May 9 05:32:58 2023 +0000 import python3.11-semantic_version-2.8.4-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4dc90dc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/semantic_version-2.8.4.tar.gz diff --git a/.python3.11-semantic_version.metadata b/.python3.11-semantic_version.metadata new file mode 100644 index 0000000..ecff4a2 --- /dev/null +++ b/.python3.11-semantic_version.metadata @@ -0,0 +1 @@ +a653abc899b5edf56d5d535293039c3854b91b99 SOURCES/semantic_version-2.8.4.tar.gz diff --git a/SPECS/python3.11-semantic_version.spec b/SPECS/python3.11-semantic_version.spec new file mode 100644 index 0000000..24464f3 --- /dev/null +++ b/SPECS/python3.11-semantic_version.spec @@ -0,0 +1,61 @@ +%global __python3 /usr/bin/python3.11 +%global python3_pkgversion 3.11 + +%global pypi_name semantic_version + +Name: python%{python3_pkgversion}-%{pypi_name} +Version: 2.8.4 +Release: 1%{?dist} +Summary: Library implementing the 'SemVer' scheme + +License: BSD +URL: https://github.com/rbarrois/python-semanticversion +Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-rpm-macros +BuildRequires: python%{python3_pkgversion}-setuptools + +%global _description \ +This small python library provides a few tools to handle semantic versioning\ +in Python. + +%description %{_description} + +%prep +%autosetup -n semantic_version-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info +# documentation builds due to broken symlink +# https://github.com/rbarrois/python-semanticversion/issues/20 +rm docs/credits.rst + +%build +%py3_build + +%install +%py3_install + +%check +# Seems like it's just stuck in koji +#{__python3} setup.py test + +%files -n python%{python3_pkgversion}-%{pypi_name} +%license LICENSE +%doc README.rst ChangeLog +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-*.egg-info/ + + +%changelog +* Fri Nov 11 2022 Charalampos Stratakis - 2.8.4-1 +- Initial package +- Fedora contributions by: + Davide Cavalca + Dennis Gilmore + Haikel Guemar + Igor Gnatenko + Javier Pena + Miro HronĨok + Petr Viktorin