Blame python-django-uuslug.spec

df4a4ba
# Created by pyp2rpm-3.3.2
df4a4ba
%global pypi_name django-uuslug
df4a4ba
df4a4ba
Name:           python-%{pypi_name}
Chenxiong Qi 7ed0c54
Version:        2.0.0
44f525a
Release:        3%{?dist}
df4a4ba
Summary:        A Django slugify application that guarantees uniqueness and handles Unicode
df4a4ba
df4a4ba
License:        MIT
df4a4ba
URL:            https://github.com/un33k/django-uuslug
df4a4ba
Source0:        %{pypi_source}
df4a4ba
BuildArch:      noarch
Chenxiong Qi 7ed0c54
Chenxiong Qi 7ed0c54
# Test suite is not included in sdist package of upstream release 2.0.0
Chenxiong Qi 7ed0c54
Patch0:         0001-Add-upstream-test-suite.patch
df4a4ba
 
df4a4ba
BuildRequires:  python3-devel
df4a4ba
BuildRequires:  python3dist(setuptools)
df4a4ba
BuildRequires:  python3dist(django)
df4a4ba
BuildRequires:  python3dist(six)
df4a4ba
BuildRequires:  python3dist(python-slugify)
df4a4ba
df4a4ba
%description
df4a4ba
A Django slugify application that guarantees Uniqueness and handles Unicode
df4a4ba
df4a4ba
df4a4ba
%package -n     python3-%{pypi_name}
df4a4ba
Summary:        %{summary}
df4a4ba
%{?python_provide:%python_provide python3-%{pypi_name}}
df4a4ba
 
df4a4ba
Requires:       python3dist(python-slugify) >= 1.2.0
df4a4ba
Requires:       python3dist(six)
df4a4ba
Requires:       python3dist(django)
df4a4ba
df4a4ba
%description -n python3-%{pypi_name}
df4a4ba
A Django slugify application that guarantees Uniqueness and handles Unicode
df4a4ba
df4a4ba
df4a4ba
%prep
Chenxiong Qi 7ed0c54
%autosetup -p1 -n %{pypi_name}-%{version}
df4a4ba
df4a4ba
# Remove bundled egg-info
df4a4ba
rm -rf django_uuslug.egg-info
df4a4ba
df4a4ba
%check
df4a4ba
%{__python3} manage.py test
df4a4ba
df4a4ba
%build
df4a4ba
%py3_build
df4a4ba
df4a4ba
%install
df4a4ba
%py3_install
df4a4ba
df4a4ba
%files -n python3-%{pypi_name}
df4a4ba
%license LICENSE
df4a4ba
%doc README.md
df4a4ba
%{python3_sitelib}/uuslug/
b96855a
%{python3_sitelib}/django_uuslug-%{version}-py%{python3_version}.egg-info
df4a4ba
df4a4ba
%changelog
44f525a
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
44f525a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
44f525a
93d618f
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
93d618f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
93d618f
Chenxiong Qi 7ed0c54
* Sun Jul 10 2022 Chenxiong Qi <qcxhome@gmail.com> - 2.0.0-1
Chenxiong Qi 7ed0c54
- Build 2.0.0
Chenxiong Qi 7ed0c54
04877f4
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.2.0-7
04877f4
- Rebuilt for Python 3.11
04877f4
18a7966
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
18a7966
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
18a7966
0fc9822
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
0fc9822
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
0fc9822
24da2c5
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.0-4
24da2c5
- Rebuilt for Python 3.10
24da2c5
8dc05fe
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
8dc05fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8dc05fe
173d1e6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
173d1e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
173d1e6
df4a4ba
* Fri Jul 10 2020 Chenxiong Qi <qcxhome@gmail.com> - 1.2.0-1
df4a4ba
- Initial package.