989ef91
%global pypi_name baluhn
989ef91
989ef91
Name:           python-%{pypi_name}
989ef91
Version:        0.1.2
4bd25d9
Release:        8%{?dist}
989ef91
Summary:        A base-independent implementation of the Luhn algorithm for Python
989ef91
989ef91
License:        Unlicense
989ef91
URL:            https://github.com/benhodgson/baluhn
989ef91
Source0:        %{pypi_source}
989ef91
BuildArch:      noarch
989ef91
989ef91
%description
989ef91
Baluhn provides a base-independent implementation of the Luhn algorithm for
989ef91
Python. It is useful for generating and verifying check digits in arbitrary
989ef91
bases.
989ef91
989ef91
%package -n python3-%{pypi_name}
989ef91
Summary:        %{summary}
989ef91
989ef91
BuildRequires:  python3-devel
989ef91
BuildRequires:  python3-setuptools
989ef91
%{?python_provide:%python_provide python3-%{pypi_name}}
989ef91
989ef91
%description -n python3-%{pypi_name}
989ef91
Baluhn provides a base-independent implementation of the Luhn algorithm for
989ef91
Python. It is useful for generating and verifying check digits in arbitrary
989ef91
bases.
989ef91
989ef91
%prep
989ef91
%autosetup -n %{pypi_name}-%{version}
989ef91
989ef91
%build
989ef91
%py3_build
989ef91
989ef91
%install
989ef91
%py3_install
989ef91
989ef91
%files -n python3-%{pypi_name}
989ef91
%doc README.md
989ef91
%{python3_sitelib}/*.egg-info
989ef91
%{python3_sitelib}/%{pypi_name}.py
989ef91
%{python3_sitelib}/__pycache__/*
989ef91
989ef91
%changelog
4bd25d9
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-8
4bd25d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4bd25d9
0266c87
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-7
0266c87
- Rebuilt for Python 3.9
0266c87
ad237ec
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-6
ad237ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ad237ec
e1ce4d8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-5
e1ce4d8
- Rebuilt for Python 3.8.0rc1 (#1748018)
e1ce4d8
e16a740
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-4
e16a740
- Rebuilt for Python 3.8
e16a740
f816783
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-3
f816783
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f816783
989ef91
* Sat Jun 08 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.2-2
989ef91
- Fix license (rhbz#1713969)
989ef91
989ef91
* Sat May 25 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.2-1
989ef91
- Initial package for Fedora