|
|
e2f0d6 |
%global srcname idna
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%{?scl:%scl_package python-%{srcname}}
|
|
|
e2f0d6 |
%{!?scl:%global pkg_name %{name}}
|
|
|
e2f0d6 |
%global python3_pkgversion %{nil}
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
Name: %{?scl_prefix}python-%{srcname}
|
|
|
e2f0d6 |
Version: 2.8
|
|
|
e2f0d6 |
Release: 7%{?dist}
|
|
|
e2f0d6 |
Summary: Internationalized Domain Names in Applications (IDNA)
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
License: BSD and Python and Unicode
|
|
|
e2f0d6 |
URL: https://github.com/kjd/idna
|
|
|
e2f0d6 |
Source0: https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
e2f0d6 |
BuildArch: noarch
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%{?scl:Requires: %{scl}-runtime}
|
|
|
e2f0d6 |
%{?scl:BuildRequires: %{scl}-runtime}
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
BuildRequires: %{?scl_prefix}python%{python3_pkgversion}-devel
|
|
|
e2f0d6 |
BuildRequires: %{?scl_prefix}python%{python3_pkgversion}-setuptools
|
|
|
e2f0d6 |
BuildRequires: %{?scl_prefix}python%{python3_pkgversion}-rpm-macros
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%description
|
|
|
e2f0d6 |
A library to support the Internationalised Domain Names in Applications (IDNA)
|
|
|
e2f0d6 |
protocol as specified in RFC 5891 <http://tools.ietf.org/html/rfc5891>. This
|
|
|
e2f0d6 |
version of the protocol is often referred to as "IDNA2008" and can produce
|
|
|
e2f0d6 |
different results from the earlier standard from 2003.
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
The library is also intended to act as a suitable drop-in replacement for the
|
|
|
e2f0d6 |
"encodings.idna" module that comes with the Python standard library but
|
|
|
e2f0d6 |
currently only supports the older 2003 specification.
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%prep
|
|
|
e2f0d6 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
e2f0d6 |
set -ex
|
|
|
e2f0d6 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
e2f0d6 |
# Remove bundled egg-info
|
|
|
e2f0d6 |
rm -rf %{srcname}.egg-info
|
|
|
e2f0d6 |
%{?scl:EOF}
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%build
|
|
|
e2f0d6 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
e2f0d6 |
set -ex
|
|
|
e2f0d6 |
%py3_build
|
|
|
e2f0d6 |
%{?scl:EOF}
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%install
|
|
|
e2f0d6 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
e2f0d6 |
set -ex
|
|
|
e2f0d6 |
%py3_install
|
|
|
e2f0d6 |
%{?scl:EOF}
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%check
|
|
|
e2f0d6 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
e2f0d6 |
set -ex
|
|
|
e2f0d6 |
%{__python3} setup.py test
|
|
|
e2f0d6 |
%{?scl:EOF}
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%files
|
|
|
e2f0d6 |
%license LICENSE.rst
|
|
|
e2f0d6 |
%doc README.rst HISTORY.rst
|
|
|
e2f0d6 |
%{python3_sitelib}/%{srcname}
|
|
|
e2f0d6 |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
%changelog
|
|
|
e2f0d6 |
* Tue Feb 04 2020 Lumír Balhar <lbalhar@redhat.com> - 2.8-7
|
|
|
e2f0d6 |
- Import from the python38 module and modified for rh-python38 RHSCL
|
|
|
e2f0d6 |
Resolves: rhbz#1671025
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 2.8-6
|
|
|
e2f0d6 |
- Exclude unsupported i686 arch
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Wed Nov 20 2019 Lumír Balhar <lbalhar@redhat.com> - 2.8-5
|
|
|
e2f0d6 |
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-4
|
|
|
e2f0d6 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-3
|
|
|
e2f0d6 |
- Rebuilt for Python 3.8
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
|
|
|
e2f0d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Tue May 28 2019 Jeremy Cline <jcline@redhat.com> - 2.8-1
|
|
|
e2f0d6 |
- Update to v2.8
|
|
|
e2f0d6 |
- Drop python version conditionals
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-4
|
|
|
e2f0d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
|
|
|
e2f0d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7-2
|
|
|
e2f0d6 |
- Rebuilt for Python 3.7
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Tue Jun 12 2018 Jeremy Cline <jeremy@jcline.org> - 2.7-1
|
|
|
e2f0d6 |
- Update to v2.7 (rhbz 1589803)
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-4
|
|
|
e2f0d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.5-3
|
|
|
e2f0d6 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
e2f0d6 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
|
e2f0d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Tue Mar 07 2017 Jeremy Cline <jeremy@jcline.org> - 2.5-1
|
|
|
e2f0d6 |
- Update to version 2.5
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Wed Mar 01 2017 Jeremy Cline <jeremy@jcline.org> - 2.4-1
|
|
|
e2f0d6 |
- Update to version 2.4
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Tue Feb 28 2017 Paul Wouters <pwouters@redhat.com> - 2.3-1
|
|
|
e2f0d6 |
- Resolves bugzilla 1427499 Update to 2.3 for IDNAError bugfix and memory improvement
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Feb 09 2017 Jeremy Cline <jeremy@jcline.org> - 2.2-1
|
|
|
e2f0d6 |
- Update to version 2.2 (#1406757)
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1-3
|
|
|
e2f0d6 |
- Rebuild for Python 3.6
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Mon Nov 28 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-2
|
|
|
e2f0d6 |
- Ship python2-idna
|
|
|
e2f0d6 |
- Enable python3 for EPEL
|
|
|
e2f0d6 |
- Modernize spec
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Mon Oct 17 2016 tom.prince@ualberta.net - 2.1-1
|
|
|
e2f0d6 |
- Bump version.
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
|
|
|
e2f0d6 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
|
|
|
e2f0d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.0-2
|
|
|
e2f0d6 |
- Rebuilt for Python3.5 rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Aug 13 2015 Paul Wouters <pwouters@redhat.com> - 2.0-1
|
|
|
e2f0d6 |
- Update to 2.0 which is required by python-cryptography
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
|
|
|
e2f0d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Wed Dec 31 2014 tom.prince@ualberta.net - 1.0-1
|
|
|
e2f0d6 |
- Bump version.
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Mon Oct 27 2014 tom.prince@ualberta.net - 0.8-3
|
|
|
e2f0d6 |
- Update licences.
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-2
|
|
|
e2f0d6 |
- Be more specfic about .egg-info directories.
|
|
|
e2f0d6 |
- Use python2-devel
|
|
|
e2f0d6 |
|
|
|
e2f0d6 |
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-1
|
|
|
e2f0d6 |
- Initial package.
|