Compare commits

...

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

2
.gitignore vendored

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

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

File diff suppressed because it is too large Load Diff

@ -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 %global srcname idna
Name: python-%{srcname} Name: python-%{srcname}
Version: 3.7 Version: 2.10
Release: %autorelease Release: 7%{?dist}.1
Summary: Internationalized Domain Names in Applications (IDNA) Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD-3-Clause License: BSD and Python and Unicode
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: python3dist(pytest) BuildRequires: python3-setuptools
%description %description
A library to support the Internationalised Domain Names in Applications (IDNA) 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 # Remove bundled egg-info
rm -rf %{srcname}.egg-info rm -rf %{srcname}.egg-info
%generate_buildrequires
%pyproject_buildrequires
%build %build
%pyproject_wheel %py3_build
%install %install
%pyproject_install %py3_install
%pyproject_save_files %{srcname}
%check %check
%pytest %{__python3} setup.py test
%files -n python3-%{srcname} -f %pyproject_files %files -n python3-%{srcname}
%license LICENSE.md %license LICENSE.rst
%doc README.rst %doc README.rst HISTORY.rst
%{python3_sitelib}/%{srcname}
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
%changelog %changelog
## START: Generated by rpmautospec * Tue Apr 23 2024 Lumír Balhar <lbalhar@redhat.com> - 2.10-7.1
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.7-4 - Security fix for CVE-2024-3651
- Bump release for October 2024 mass rebuild: 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 - Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.7-2 * Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 2.10-6
- Bump release for June 2024 mass rebuild - Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8
* Thu Apr 11 2024 Lumir Balhar <lbalhar@redhat.com> - 3.7-1 - Related: rhbz#1990421
- 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
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-4 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - 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 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.10-4
- Rebuilt for Python 3.12 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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
@ -238,5 +192,3 @@ Resolves: rhbz#1965774
* 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