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:
parent
cb32bb23a7
commit
7e3e29d2a2
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user