Packaging tips for PHP extension

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

 



We were used to duplicate sources tree for dual build (NTS/ZTS)
despite most extensions support out of sources build which is
the way pecl command build them

Here is 2 examples of the change:

https://git.remirepo.net/cgit/rpms/php/pecl/php-pecl-rnp.git/commit/?id=a05f0c80b08ff2ac26a4b241d0792087544e85ac

https://src.fedoraproject.org/rpms/php-pecl-mongodb/c/a16edfac821be296320724a287ba438b30d976c0?branch=rawhide

Or a full spec file:
https://rpms.remirepo.net/temp/php-pecl-rnp.spec

I plan to modernize some other extension spec files
during update for new version


Notice: I now recommend to use some new macro helpers
provided by php-devel package

%{__php}
%{__phpize}
%{__phpconfig}
%{__ztsphpconfig}

No immediate plan to change their value
but thinking about packaging changes


Regards
Remi


P.S. review #2210274 and #2216682 and two new extensions
(bitset and rnp) following this new way.
_______________________________________________
php-devel mailing list -- php-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to php-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/php-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux