|
|
|
@ -1,27 +1,23 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 4;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
%global srcname idna
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 3.7
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Version: 2.10
|
|
|
|
|
Release: 7%{?dist}.1
|
|
|
|
|
Summary: Internationalized Domain Names in Applications (IDNA)
|
|
|
|
|
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
License: BSD and Python and Unicode
|
|
|
|
|
URL: https://github.com/kjd/idna
|
|
|
|
|
Source0: https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# Security fix for CVE-2024-3651
|
|
|
|
|
# Upstream: https://github.com/kjd/idna/commit/5beb28b9dd77912c0dd656d8b0fdba3eb80222e7
|
|
|
|
|
# Tracking bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2274779
|
|
|
|
|
Patch: CVE-2024-3651.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A library to support the Internationalised Domain Names in Applications (IDNA)
|
|
|
|
@ -52,84 +48,42 @@ currently only supports the older 2003 specification.
|
|
|
|
|
# Remove bundled egg-info
|
|
|
|
|
rm -rf %{srcname}.egg-info
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files %{srcname}
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname} -f %pyproject_files
|
|
|
|
|
%license LICENSE.md
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
|
%license LICENSE.rst
|
|
|
|
|
%doc README.rst HISTORY.rst
|
|
|
|
|
%{python3_sitelib}/%{srcname}
|
|
|
|
|
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.7-4
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
* Tue Apr 23 2024 Lumír Balhar <lbalhar@redhat.com> - 2.10-7.1
|
|
|
|
|
- Security fix for CVE-2024-3651
|
|
|
|
|
Resolves: RHEL-33464
|
|
|
|
|
|
|
|
|
|
* Thu Jul 04 2024 Tomas Orsava <torsava@redhat.com> - 3.7-3
|
|
|
|
|
* Mon Feb 21 2022 Tomas Orsava <torsava@redhat.com> - 2.10-7
|
|
|
|
|
- Add gating configuration and a simple smoke test
|
|
|
|
|
- Related: rhbz#1950291
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.7-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 11 2024 Lumir Balhar <lbalhar@redhat.com> - 3.7-1
|
|
|
|
|
- Update to 3.7 (rhbz#2274439)
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 28 2023 Lumír Balhar <lbalhar@redhat.com> - 3.6-1
|
|
|
|
|
- Update to 3.6 (rhbz#2251399)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 08 2023 Karolina Surma <ksurma@redhat.com> - 3.4-5
|
|
|
|
|
- Update the package's license
|
|
|
|
|
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 2.10-6
|
|
|
|
|
- Add automatically generated Obsoletes tag with the python39- prefix
|
|
|
|
|
for smoother upgrade from RHEL8
|
|
|
|
|
- Related: rhbz#1990421
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.10-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.4-3
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Sep 15 2022 Lumír Balhar <lbalhar@redhat.com> - 3.4-1
|
|
|
|
|
- Update to 3.4
|
|
|
|
|
Resolves: rhbz#2126582
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.3-3
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 14 2021 Lumír Balhar <lbalhar@redhat.com> - 3.3-1
|
|
|
|
|
- Update to 3.3
|
|
|
|
|
Resolves: rhbz#2013470
|
|
|
|
|
|
|
|
|
|
* Tue Aug 03 2021 Lumír Balhar <lbalhar@redhat.com> - 3.2-1
|
|
|
|
|
- Update to 3.2
|
|
|
|
|
Resolves: rhbz#1965774
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 2.10-4
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.10-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -238,5 +192,3 @@ Resolves: rhbz#1965774
|
|
|
|
|
|
|
|
|
|
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-1
|
|
|
|
|
- Initial package.
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|