SHA256
3
0
forked from pool/meson

Accepting request 666688 from home:scarabeus_iv:branches:devel:tools:building

- Switch to distutils build and properly create egg-info

OBS-URL: https://build.opensuse.org/request/show/666688
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=125
This commit is contained in:
Dominique Leuenberger 2019-01-17 12:16:42 +00:00 committed by Git OBS Bridge
parent cb32bb23a7
commit 7e3e29d2a2
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 17 11:57:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to distutils build and properly create egg-info
-------------------------------------------------------------------
Wed Jan 16 11:20:15 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -26,7 +26,7 @@
%endif
%define _name mesonbuild
%{!?vim_data_dir:%global vim_data_dir %{_datadir}/vim}
%bcond_without setuptools
%bcond_with setuptools
Name: meson%{name_ext}
Version: 0.49.0
Release: 0
@ -218,6 +218,10 @@ from mesonbuild.mesonmain import main
sys.exit(main())
""" > %{buildroot}%{_bindir}/%{name}
chmod +x %{buildroot}%{_bindir}/%{name}
# ensure egg-info is a directory
rm %{buildroot}%{python3_sitelib}/*.egg-info
cp -r meson.egg-info %{buildroot}%{python3_sitelib}/meson-%{version}-py%{python3_version}.egg-info
%endif
%endif