diff --git a/python-sentinels.spec b/python-sentinels.spec new file mode 100644 index 0000000..1ce4b90 --- /dev/null +++ b/python-sentinels.spec @@ -0,0 +1,49 @@ +%global pypi_name sentinels + +Name: python-%{pypi_name} +Version: 1.0.0 +Release: 1 +Summary: Various objects to denote special meanings in Python +License: BSD +URL: https://github.com/vmalloc/sentinels +Source0: %{pypi_source} +BuildArch: noarch + +%description +The sentinels module is a small utility providing the Sentinel class, along +with useful instances. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(pytest) +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +The sentinels module is a small utility providing the Sentinel class, along +with useful instances. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} -m pytest + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ + +%changelog +* Fri Jul 30 2021 OpenStack_SIG - 1.0.0-1 +- Package Spec generate diff --git a/sentinels-1.0.0.tar.gz b/sentinels-1.0.0.tar.gz new file mode 100644 index 0000000..03d34b6 Binary files /dev/null and b/sentinels-1.0.0.tar.gz differ