|
|
3605214 |
%global pypi_name nanoid
|
|
|
3605214 |
|
|
|
3605214 |
Name: python-%{pypi_name}
|
|
|
3605214 |
Version: 2.0.0
|
|
|
8ab711d |
Release: 14%{?dist}
|
|
|
3605214 |
Summary: Unique string ID generator for Python
|
|
|
3605214 |
|
|
|
3605214 |
License: MIT
|
|
|
3605214 |
URL: https://github.com/puyuan/py-nanoid
|
|
|
3605214 |
Source0: %{pypi_source}
|
|
|
3605214 |
Source1: https://raw.githubusercontent.com/puyuan/py-nanoid/master/LICENSE
|
|
|
3605214 |
BuildArch: noarch
|
|
|
3605214 |
|
|
|
3605214 |
BuildRequires: python3-devel
|
|
|
3605214 |
BuildRequires: python3-setuptools
|
|
|
3605214 |
|
|
|
3605214 |
%description
|
|
|
3605214 |
Nano ID is a tiny, secure, URL-friendly, unique string ID generator for
|
|
|
3605214 |
Python. It uses cryptographically strong random APIs and tests distribution
|
|
|
3605214 |
of symbols and a larger alphabet than UUID (A-Za-z0-9_-).
|
|
|
3605214 |
|
|
|
3605214 |
%package -n python3-%{pypi_name}
|
|
|
3605214 |
Summary: %{summary}
|
|
|
3605214 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
3605214 |
|
|
|
3605214 |
%description -n python3-%{pypi_name}
|
|
|
3605214 |
Nano ID is a tiny, secure, URL-friendly, unique string ID generator for
|
|
|
3605214 |
Python. It uses cryptographically strong random APIs and tests distribution
|
|
|
3605214 |
of symbols and a larger alphabet than UUID (A-Za-z0-9_-).
|
|
|
3605214 |
|
|
|
3605214 |
%prep
|
|
|
3605214 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
3605214 |
rm -rf %{pypi_name}.egg-info
|
|
|
3605214 |
cp -a %{SOURCE1} LICENSE
|
|
|
3605214 |
|
|
|
3605214 |
%build
|
|
|
3605214 |
%py3_build
|
|
|
3605214 |
|
|
|
3605214 |
%install
|
|
|
3605214 |
%py3_install
|
|
|
3605214 |
|
|
|
3605214 |
%files -n python3-%{pypi_name}
|
|
|
3605214 |
%doc README.md
|
|
|
3605214 |
# License file missing: https://github.com/puyuan/py-nanoid/pull/19
|
|
|
3605214 |
%license LICENSE
|
|
|
3605214 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
3605214 |
%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info/
|
|
|
3605214 |
|
|
|
3605214 |
%changelog
|
|
|
8ab711d |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-14
|
|
|
8ab711d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
8ab711d |
|
|
|
3d26101 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-13
|
|
|
3d26101 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
3d26101 |
|
|
|
b05ba10 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-12
|
|
|
b05ba10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
b05ba10 |
|
|
|
7eb6e49 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.0-11
|
|
|
7eb6e49 |
- Rebuilt for Python 3.12
|
|
|
7eb6e49 |
|
|
|
0899162 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-10
|
|
|
0899162 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
0899162 |
|
|
|
98604ec |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-9
|
|
|
98604ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
98604ec |
|
|
|
0cde294 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.0-8
|
|
|
0cde294 |
- Rebuilt for Python 3.11
|
|
|
0cde294 |
|
|
|
fb4a710 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
|
|
fb4a710 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
fb4a710 |
|
|
|
fd11a1d |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
|
|
fd11a1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
fd11a1d |
|
|
|
ea5b64f |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-5
|
|
|
ea5b64f |
- Rebuilt for Python 3.10
|
|
|
ea5b64f |
|
|
|
245d97a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
245d97a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
245d97a |
|
|
|
8e26f49 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
|
8e26f49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8e26f49 |
|
|
|
3605214 |
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.0-2
|
|
|
3605214 |
- Add license (rhbz#1830267)
|
|
|
3605214 |
|
|
|
3605214 |
* Fri May 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.0.0-1
|
|
|
3605214 |
- Initial package for Fedora
|