rebuilt with python 3.10 [release 1.2.1-2mamba;Sat Sep 09 2023]
This commit is contained in:
parent
0740782708
commit
36b983d0fa
26
meson.spec
26
meson.spec
@ -1,6 +1,6 @@
|
||||
Name: meson
|
||||
Version: 1.2.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The Meson Build System
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
@ -13,12 +13,11 @@ Patch0: meson-0.48.1-rpm-macros.patch
|
||||
Patch1: meson-0.58.0-fix-gtk-doc.patch
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
BuildRequires: libpython310-devel
|
||||
BuildRequires: python3.10dist(setuptools)
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python-pathlib-py3
|
||||
Requires: python-pathlib-py3
|
||||
Requires: python3
|
||||
#BuildRequires: python-pathlib-py3
|
||||
#Requires: python-pathlib-py3
|
||||
Requires: ninja
|
||||
|
||||
%description
|
||||
@ -30,15 +29,15 @@ The Meson Build System.
|
||||
#%patch1 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python310} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python3} setup.py install \
|
||||
%{__python310} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python3_inc} \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--install-headers=%{python310_inc} \
|
||||
--install-lib=%{python310_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
@ -53,11 +52,14 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.meson
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/rpm/macros.meson
|
||||
%dir %{python3_sitearch}/meson-%{version}-py*.egg-info
|
||||
%{python3_sitearch}/meson-%{version}-py*.egg-info/*
|
||||
%dir %{python310_sitearch}/meson-%{version}-py*.egg-info
|
||||
%{python310_sitearch}/meson-%{version}-py*.egg-info/*
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
* Sat Sep 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
* Wed Aug 09 2023 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user