Compare commits

...

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

2
.gitignore vendored

@ -1 +1 @@
SOURCES/idna-2.10.tar.gz SOURCES/idna-3.7.tar.gz

@ -1 +1 @@
ab9b7f0143cc0095da8439939eee9ce153af5f60 SOURCES/idna-2.10.tar.gz febd6445bb4d998278f45f88f7d196620af285d6 SOURCES/idna-3.7.tar.gz

File diff suppressed because it is too large Load Diff

@ -1,23 +1,27 @@
## 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 %global srcname idna
Name: python-%{srcname} Name: python-%{srcname}
Version: 2.10 Version: 3.7
Release: 7%{?dist}.1 Release: %autorelease
Summary: Internationalized Domain Names in Applications (IDNA) Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD and Python and Unicode License: BSD-3-Clause
URL: https://github.com/kjd/idna URL: https://github.com/kjd/idna
Source0: https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz 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 BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3dist(pytest)
%description %description
A library to support the Internationalised Domain Names in Applications (IDNA) A library to support the Internationalised Domain Names in Applications (IDNA)
@ -48,42 +52,84 @@ currently only supports the older 2003 specification.
# Remove bundled egg-info # Remove bundled egg-info
rm -rf %{srcname}.egg-info rm -rf %{srcname}.egg-info
%generate_buildrequires
%pyproject_buildrequires
%build %build
%py3_build %pyproject_wheel
%install %install
%py3_install %pyproject_install
%pyproject_save_files %{srcname}
%check %check
%{__python3} setup.py test %pytest
%files -n python3-%{srcname} %files -n python3-%{srcname} -f %pyproject_files
%license LICENSE.rst %license LICENSE.md
%doc README.rst HISTORY.rst %doc README.rst
%{python3_sitelib}/%{srcname}
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
%changelog %changelog
* Tue Apr 23 2024 Lumír Balhar <lbalhar@redhat.com> - 2.10-7.1 ## START: Generated by rpmautospec
- Security fix for CVE-2024-3651 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.7-4
Resolves: RHEL-33464 - Bump release for October 2024 mass rebuild:
* Mon Feb 21 2022 Tomas Orsava <torsava@redhat.com> - 2.10-7 * Thu Jul 04 2024 Tomas Orsava <torsava@redhat.com> - 3.7-3
- Add gating configuration and a simple smoke test - Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 2.10-6 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.7-2
- Add automatically generated Obsoletes tag with the python39- prefix - Bump release for June 2024 mass rebuild
for smoother upgrade from RHEL8
- Related: rhbz#1990421 * 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 Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.10-5 * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.10-4 * Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.4-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - 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
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
@ -192,3 +238,5 @@ Resolves: RHEL-33464
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-1 * Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-1
- Initial package. - Initial package.
## END: Generated by rpmautospec

Loading…
Cancel
Save