Hi I'm trying to update python-distribution in dlp:numerics https://build.opensuse.org/package/show/home:apersaud:branches:devel:languag... and I'm getting some build failures. It seems that some macros expand $name somewhere and therefore it is looking for python38-python-distributed instead of just python38-distributed. It builds OK for 586 though?! I cannot figure out if there is something wrong with the spec file or if its a macro definition... does anyone have any ideas on how to fix this? Thanks Arun
Am 04.04.21 um 19:42 schrieb Arun Persaud:
Hi
I'm trying to update python-distribution in dlp:numerics You mean python-distributed.
https://build.opensuse.org/package/show/home:apersaud:branches:devel:languag...
and I'm getting some build failures. It seems that some macros expand $name somewhere and therefore it is looking for %name. python38-python-distributed instead of just python38-distributed.
It builds OK for 586 though?!
Maybe , because the move of the %ifnarch block to the top of the file does not work well with the python-rpm-macros. Spec-cleaner/obs service I guess. Split it to do the define of %cythonize at the top and the BuildRequires of Cython at it's proper place. This would explain why it builds on i586, but not on x86_64.
I cannot figure out if there is something wrong with the spec file or if its a macro definition... does anyone have any ideas on how to fix this?
Thanks
Arun
Hi
Maybe , because the move of the %ifnarch block to the top of the file does not work well with the python-rpm-macros. Spec-cleaner/obs service I guess. Split it to do the define of %cythonize at the top and the BuildRequires of Cython at it's proper place. This would explain why it builds on i586, but not on x86_64.
that was it! Thanks... and yes, it seems to come from spec-cleaner which I run automatically before submitting. Thanks again Arun
participants (2)
-
Arun Persaud
-
Ben Greiner