Re: php-pear package build problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



06.09.2011 18:47, TASAKA Mamoru wrote:
> Pavel Alexeev (aka Pahan-Hubbitus) wrote, at 09/06/2011 07:00 PM +9:00:
>> 05.09.2011 19:17, TASAKA Mamoru wrote:
> 2. The line 28
>>>
>>> %if %{?php_zend_api}0
>>>
>>> cannot be parsed when %php_zend_api is not integer (and this is
>>> actually happening
>>> currently). The correct line would be something like
>>>
>>> %if 0%{?php_zend_api?1:0}
>>>
>>> however it seems this line is no longer needed on Fedora:
>>> http://fedoraproject.org/wiki/Packaging:PHP#C_extensions_.28PECL_and_others.29
>>>
>> It stil needed for EPEL
>> http://fedoraproject.org/wiki/Packaging:EPEL#PHP_ABI_Check_Handling
>> and exactly in this form
>
> Then you have to write this only for EPEL build. Again on F-17 parsing
> "%if %{?php_zend_api}0" actually failed, because php_zend_api is not
> integer
> (actually %php_zend_api is now 20090626-x86-32 on F-17 i686)
> This EPEL form is no longer valid on Fedora (at least on F-17).
>
> However "%if 0%{?php_zend_api?1:0}" is also wrong and this should be
> "%if 0%{?php_zend_api:1}" if you want to use (guessing php_zend_api
> is not defined as "0" even on EPEL)
>
It wasn't sole issue, but I understand your idea. Thank you again.
It also was in php command below what I also make silent fail if command 
not found.

Just for interest - is there change of minimal buildroot happened since 
F15? Why it was worked before? Was it announced and I miss something?

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux