diff --git a/meson.changes b/meson.changes index 51033c5..07ad2d8 100644 --- a/meson.changes +++ b/meson.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 17 11:57:17 UTC 2019 - Tomáš Chvátal + +- Switch to distutils build and properly create egg-info + ------------------------------------------------------------------- Wed Jan 16 11:20:15 UTC 2019 - Dominique Leuenberger diff --git a/meson.spec b/meson.spec index e6fac3e..1159e12 100644 --- a/meson.spec +++ b/meson.spec @@ -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