rebuilt with python3 == 3.11 [release 1.2.2-2mamba;Fri Oct 06 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:06:44 +01:00
parent b8b2d24b84
commit bfe00a7d4b

View File

@ -1,6 +1,6 @@
Name: meson Name: meson
Version: 1.2.2 Version: 1.2.2
Release: 1mamba Release: 2mamba
Summary: The Meson Build System Summary: The Meson Build System
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -13,9 +13,10 @@ Patch0: meson-0.48.1-rpm-macros.patch
Patch1: meson-0.58.0-fix-gtk-doc.patch Patch1: meson-0.58.0-fix-gtk-doc.patch
License: Apache License 2.0 License: Apache License 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython310-devel BuildRequires: libpython311-devel
BuildRequires: python3.10dist(setuptools) BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3 >= 3.11
#BuildRequires: python-pathlib-py3 #BuildRequires: python-pathlib-py3
#Requires: python-pathlib-py3 #Requires: python-pathlib-py3
Requires: ninja Requires: ninja
@ -29,15 +30,15 @@ The Meson Build System.
#%patch1 -p1 #%patch1 -p1
%build %build
CFLAGS="%{optflags}" %{__python310} setup.py build CFLAGS="%{optflags}" %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python310} setup.py install \ %{__python3} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{python310_inc} \ --install-headers=%{python3_inc} \
--install-lib=%{python310_sitearch} \ --install-lib=%{python3_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
@ -52,11 +53,14 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.meson
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/rpm/macros.meson %{_sysconfdir}/rpm/macros.meson
%dir %{python310_sitearch}/meson-%{version}-py*.egg-info %dir %{python3_sitearch}/meson-%{version}-py*.egg-info
%{python310_sitearch}/meson-%{version}-py*.egg-info/* %{python3_sitearch}/meson-%{version}-py*.egg-info/*
%doc COPYING %doc COPYING
%changelog %changelog
* Fri Oct 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-2mamba
- rebuilt with python3 == 3.11
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba * Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist - automatic version update by autodist