Blob Blame History Raw
# Created by pyp2rpm-3.3.5
%global pypi_name rstr
%global _description %{expand:
rstr is a helper module for easily generating random strings of various types.
It could be useful for fuzz testing, generating dummy data, or other

Name:           python-%{pypi_name}
Version:        2.2.6
Release:        1%{?dist}
Summary:        Generate random strings in Python

License:        BSD
URL:  {name}-%{version}.tar.gz
Source0:        %{pypi_source}
BuildArch:      noarch

BuildRequires:  python%{python3_pkgversion}-devel
BuildRequires:  python3dist(setuptools)

%description %_description

%package -n     python%{python3_pkgversion}-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n python%{python3_pkgversion}-%{pypi_name} %_description

%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info



export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} test

%files -n python3-%{pypi_name}

* Thu Feb 04 2021 Frédéric Pierret (fepitre) <> - 2.2.6-1
- Update to 2.2.6

* Tue Jan 05 2021 Frédéric Pierret (fepitre) <> - 2.1.0-1
- Initial package.