diff --git a/python-ubelt.spec b/python-ubelt.spec new file mode 100644 index 0000000000000000000000000000000000000000..a3bb5b4046689f0a8994970da45ab42fff3b4c75 --- /dev/null +++ b/python-ubelt.spec @@ -0,0 +1,46 @@ +%global pypi_name ubelt + +Name: python-%{pypi_name} +Version: 1.3.3 +Release: 1 +Summary: A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. + +License: Apache 2 +URL: https://github.com/Erotemic/ubelt +Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +Ubelt is a lightweight library of robust, tested, documented, and simple functions that extend the Python standard library. + +%package -n python3-%{pypi_name} +Summary: A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. +Provides: python-%{pypi_name} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel + +%description -n python3-%{pypi_name} +Ubelt is a lightweight library of robust, tested, documented, and simple functions that extend the Python standard library. documented. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/ubelt-*.dist-info/ +%{python3_sitelib}/ubelt/ + +%changelog +* Tue Aug 22 2023 mengzhaoa - 1.3.3-1 +- Init package. diff --git a/ubelt-1.3.3.tar.gz b/ubelt-1.3.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..adc5fde681d67e195c09cae6085ed7666fca0e88 Binary files /dev/null and b/ubelt-1.3.3.tar.gz differ