Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: php-shout


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=181445





------- Additional Comments From [EMAIL PROTECTED]  2006-06-30 07:27 EST -------
(for my comment #31 above):

The final auto-detection macro should be:

%define extdir  %(php-config --extension-dir 2>/dev/null || echo be_happy_mock)
%define apiver  %(( phpize --version 2>/dev/null || echo 'PHP Api Version:
be_happy_mock' ) | sed -n '/PHP Api Version/ s/.*:  *//p')

Note, that "echo be_happy_mock" workaround is needed, because the FE build
system uses mock now.

There are two .spec file reads, first by mock (before rpmbuild stage), and
second by rpmbuild (as normal). At the second stage all is OK (as php-devel
package, which owns the "php-config" and "phpize", is already present in the
build environment), but at the first stage there still is no
"php-config/phpize", and mock fails when extdir/apiver are left undefined.
(Surely at the actual package build stage extdir/apiver will be defined 
properly).

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/fedora-package-review

Reply via email to