rebuilt with python3 [release 0.55.3-2mamba;Mon Sep 14 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 07:06:35 +01:00
parent a33e1ec21c
commit b7d045d3c0

View File

@ -1,23 +1,22 @@
Name: meson Name: meson
Version: 0.55.3 Version: 0.55.3
Release: 1mamba Release: 2mamba
Summary: The Meson Build System Summary: The Meson Build System
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://mesonbuild.com/ URL: http://mesonbuild.com/
## GITSOURCE https://github.com/mesonbuild/meson.git 0.43.0
Source: https://github.com/mesonbuild/meson.git/%{version}/meson-%{version}.tar.bz2 Source: https://github.com/mesonbuild/meson.git/%{version}/meson-%{version}.tar.bz2
Source1: macros.meson Source1: macros.meson
Patch0: meson-0.48.1-rpm-macros.patch Patch0: meson-0.48.1-rpm-macros.patch
License: Apache License 2.0 License: Apache License 2.0
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython36-devel BuildRequires: libpython3-devel
BuildRequires: python-pathlib-py3 BuildRequires: python-pathlib-py3
Requires: python-pathlib-py3 Requires: python-pathlib-py3
Requires: python36 >= %python36_version Requires: python3 >= %python36_version
Requires: ninja Requires: ninja
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -29,15 +28,15 @@ The Meson Build System.
#%patch0 -p1 #%patch0 -p1
%build %build
CFLAGS="%{optflags}" %{__python36} setup.py build CFLAGS="%{optflags}" %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python36} setup.py install \ %{__python3} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{python36_inc} \ --install-headers=%{python3_inc} \
--install-lib=%{python36_sitearch} \ --install-lib=%{python3_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist sed -i "s,.*/man/.*,&.gz," %{name}.filelist
@ -55,6 +54,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.meson
%doc COPYING %doc COPYING
%changelog %changelog
* Mon Sep 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.55.3-2mamba
- rebuilt with python3
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 0.55.3-1mamba * Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 0.55.3-1mamba
- automatic version update by autodist - automatic version update by autodist