rebuilt with python3 [release 0.55.3-2mamba;Mon Sep 14 2020]
This commit is contained in:
parent
a33e1ec21c
commit
b7d045d3c0
18
meson.spec
18
meson.spec
@ -1,23 +1,22 @@
|
||||
Name: meson
|
||||
Version: 0.55.3
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The Meson Build System
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
Source1: macros.meson
|
||||
Patch0: meson-0.48.1-rpm-macros.patch
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython36-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python-pathlib-py3
|
||||
Requires: python-pathlib-py3
|
||||
Requires: python36 >= %python36_version
|
||||
Requires: python3 >= %python36_version
|
||||
Requires: ninja
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -29,15 +28,15 @@ The Meson Build System.
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python36} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python36} setup.py install \
|
||||
%{__python3} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python36_inc} \
|
||||
--install-lib=%{python36_sitearch} \
|
||||
--install-headers=%{python3_inc} \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
@ -55,6 +54,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.meson
|
||||
%doc COPYING
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user