On Wed, Jul 18, 2018 at 3:18 PM, Mattias Ellert
<mattias.ell...@physics.uu.se> wrote:
> ons 2018-07-18 klockan 15:23 +0200 skrev Zoltan Kota:
>> Hi All,
>>
>> The Mass rebuild of pybliographer failed. See below:
>> ----
>> Fwd: releng's pybliographer-1.2.18-4.fc29 failed to build
>>
>> Notification time stamped 2018-07-15 03:04:40 UTC
>>
>> releng's pybliographer-1.2.18-4.fc29 failed to build
>>         http://koji.fedoraproject.org/koji/buildinfo?buildID=1121364
>> ----
>> It seems the .configure script does not find 'python'. The script uses 
>> Python variable to store python path (configure.ac: AC_PATH_PROG(Python, 
>> python, no) ).
>>
>> Can I add/override this variable in the spec file?
>> eg. %configure Python=%{__python2}
>>
>> or what is the correct syntax/way to fix the issue?
>>
>> Thanks,
>> Zoltan
>
> diff --git a/pybliographer.spec b/pybliographer.spec
> index ac77e97..4649812 100644
> --- a/pybliographer.spec
> +++ b/pybliographer.spec
> @@ -47,6 +47,7 @@ file formats: BibTeX, ISI, Medline, Ovid, Refer.
>  %setup -q
>
>  %build
> +export Python=/usr/bin/python2

Or you can add:

BuildRequires: python-unversioned-command
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/D6E6N67IUJ3IJM7NMML7VUFJYEC2HSMN/

Reply via email to