Fix build error at python 3.12 52/305952/1 accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_base accepted/tizen/base/20240328.043133 accepted/tizen/base/asan/20240406.082345 accepted/tizen/base/toolchain/20240424.234734 accepted/tizen/base/x/20240328.090135 accepted/tizen/base/x/asan/20240412.003002
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 14 Feb 2024 06:35:41 +0000 (15:35 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 14 Feb 2024 06:35:41 +0000 (15:35 +0900)
Change-Id: If9340d2973276c165f71a6b09642938874e4d907

packaging/Mako-1.2.4-py3-none-any.whl [new file with mode: 0644]
packaging/python3-mako.spec

diff --git a/packaging/Mako-1.2.4-py3-none-any.whl b/packaging/Mako-1.2.4-py3-none-any.whl
new file mode 100644 (file)
index 0000000..f355647
Binary files /dev/null and b/packaging/Mako-1.2.4-py3-none-any.whl differ
index ffc1577..c607c8b 100644 (file)
@@ -7,11 +7,14 @@ Group:          Development/Languages/Python
 Url:            http://www.makotemplates.org/
 Source:         %{name}-%{version}.tar.gz
 Source1001:     %{name}.manifest
+Source1002:     Mako-%{version}-py3-none-any.whl
 
 BuildRequires:  python3-MarkupSafe
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-nose
+BuildRequires:  python3-build
+BuildRequires:  python3-pip
 
 Suggests:       python3-Beaker >= 1.1
 Requires:       python3-MarkupSafe
@@ -34,10 +37,10 @@ ties to Python calling and scoping semantics.
 
 %build
 cp %{SOURCE1001} .
-%{_bindir}/python3 setup.py build
+
 
 %install
-%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{_bindir}/python3 -m pip install --root %{buildroot} %{SOURCE1002}
 
 %check
 #python3 setup.py test || exit 0
@@ -49,7 +52,7 @@ cp %{SOURCE1001} .
 %license LICENSE
 %{_bindir}/mako-render
 %{python3_sitelib}/mako/
-%{python3_sitelib}/Mako-%{version}-py%{python3_version}.egg-info
+%{python3_sitelib}/Mako-%{version}.dist-info/*
 
 %changelog