|
|
@ -1,15 +1,17 @@
|
|
|
|
Name: python-mako
|
|
|
|
Name: python-mako
|
|
|
|
Version: 1.2.3
|
|
|
|
Version: 1.1.4
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Mostly MIT, but _ast_util.py is Python licensed.
|
|
|
|
|
|
|
|
# The documentation contains javascript for search licensed BSD or GPLv2
|
|
|
|
|
|
|
|
License: (MIT and Python) and (BSD or GPLv2)
|
|
|
|
Summary: Mako template library for Python
|
|
|
|
Summary: Mako template library for Python
|
|
|
|
|
|
|
|
URL: http://www.makotemplates.org/
|
|
|
|
# Mostly MIT, but _ast_util.py is Python-2.0.1 licensed
|
|
|
|
|
|
|
|
# examples/bench/basic.py is BSD-3-Clause
|
|
|
|
|
|
|
|
License: MIT AND Python-2.0.1 AND BSD-3-Clause
|
|
|
|
|
|
|
|
URL: https://www.makotemplates.org/
|
|
|
|
|
|
|
|
Source0: https://github.com/sqlalchemy/mako/archive/rel_%(echo %{version} | sed "s/\./_/g").tar.gz
|
|
|
|
Source0: https://github.com/sqlalchemy/mako/archive/rel_%(echo %{version} | sed "s/\./_/g").tar.gz
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2133606
|
|
|
|
|
|
|
|
Patch0: python-mako-1.1.14-CVE-2022-40023.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
@ -35,7 +37,6 @@ Summary: %{summary}
|
|
|
|
Recommends: python3-beaker
|
|
|
|
Recommends: python3-beaker
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: python2-mako < 1.1.0-3
|
|
|
|
Obsoletes: python2-mako < 1.1.0-3
|
|
|
|
Obsoletes: python-mako-doc < 1.1.4-6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-mako}
|
|
|
|
%{?python_provide:%python_provide python3-mako}
|
|
|
|
|
|
|
|
|
|
|
@ -44,13 +45,18 @@ Obsoletes: python-mako-doc < 1.1.4-6
|
|
|
|
This package contains the mako module built for use with python3.
|
|
|
|
This package contains the mako module built for use with python3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
|
|
|
Summary: Documentation for the Mako template library for Python
|
|
|
|
|
|
|
|
Suggests: python3-mako = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description doc %_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains documentation in text and HTML formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n mako-rel_%(echo %{version} | sed "s/\./_/g")
|
|
|
|
%autosetup -p1 -n mako-rel_%(echo %{version} | sed "s/\./_/g")
|
|
|
|
|
|
|
|
|
|
|
|
# the package ends up installed as %%{version}.dev0 otherwise:
|
|
|
|
|
|
|
|
sed -i '/tag_build = dev/d' setup.cfg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
@ -63,6 +69,9 @@ mv %{buildroot}/%{_bindir}/mako-render %{buildroot}/%{_bindir}/mako-render-%{pyt
|
|
|
|
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render-3
|
|
|
|
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render-3
|
|
|
|
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render
|
|
|
|
ln -s ./mako-render-%{python3_version} %{buildroot}/%{_bindir}/mako-render
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# These are supporting files for building the docs. No need to ship
|
|
|
|
|
|
|
|
rm -rf doc/build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pytest-3
|
|
|
|
pytest-3
|
|
|
@ -77,50 +86,20 @@ pytest-3
|
|
|
|
%{python3_sitelib}/mako/
|
|
|
|
%{python3_sitelib}/mako/
|
|
|
|
%{python3_sitelib}/Mako-*.egg-info/
|
|
|
|
%{python3_sitelib}/Mako-*.egg-info/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
|
|
|
%doc doc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Aug 19 2024 Tomas Popela <tpopela@redhat.com> - 1.2.3-8
|
|
|
|
|
|
|
|
- Fix SDPX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.3-7
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-5
|
|
|
|
%changelog
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Thu Nov 17 2022 David King <amigadave@amigadave.com> - 1.1.4-6
|
|
|
|
|
|
|
|
- Fix CVE-2022-40023 (#2133606)
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.3-3
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 27 2022 David King <amigadave@amigadave.com> - 1.2.3-1
|
|
|
|
|
|
|
|
- Update to 1.2.3 (#1996163)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.4-8
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 29 2021 Miro Hrončok <mhroncok@redhat.com> - 1.1.4-6
|
|
|
|
|
|
|
|
- Don't build the package as 1.1.4.dev0
|
|
|
|
|
|
|
|
- Remove the empty python-mako-doc package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-5
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.1.4-4
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.4-4
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 29 2021 David King <amigadave@amigadave.com> - 1.1.4-3
|
|
|
|
* Mon Mar 29 2021 David King <amigadave@amigadave.com> - 1.1.4-3
|
|
|
|
- Remove unnecessary python3-mock BuildRequires
|
|
|
|
- Remove unnecessary python3-mock BuildRequires
|
|
|
|