From a72fac81bb971648fe1c09c3081ce71786d15a76 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sat, 18 Feb 2023 00:44:46 +0000 Subject: [PATCH] Auto sync2gitlab import of python3.11-semantic_version-2.8.4-1.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - python3.11-semantic_version.spec | 61 ++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 python3.11-semantic_version.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..731be37 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/semantic_version-2.8.4.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/python3.11-semantic_version.spec b/python3.11-semantic_version.spec new file mode 100644 index 0000000..24464f3 --- /dev/null +++ b/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 diff --git a/sources b/sources new file mode 100644 index 0000000..649461b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (semantic_version-2.8.4.tar.gz) = 2ed9a8ae03384731865c0b160a9bc92f9c877b610a4ecf15c30969886f15e7cdf77cf384997f96126a8a77534e032c70f587c835fe288fe4ab3e9e2061cb6f47