[Bug 1056822] New: Support PHP7 packagers with new packaging macros
http://bugzilla.opensuse.org/show_bug.cgi?id=1056822 Bug ID: 1056822 Summary: Support PHP7 packagers with new packaging macros Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jweberhofer@weberhofer.at QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- To simplify packaging some new macros should be included into PHP7. Please include those changes in the upcoming SRs of maintained leap versions when possible! There is an intermediate package in https://build.opensuse.org/package/show/server:php:applications/php7-macros Those are the new macros: %php_pearxmldir /var/lib/pear %pear_phpdir %(%{__pear} config-get php_dir 2> /dev/null || echo undefined) %pear_docdir %(%{__pear} config-get doc_dir 2> /dev/null || echo undefined) %pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo undefined) %pear_datadir %(%{__pear} config-get data_dir 2> /dev/null || echo undefined) %pear_cfgdir %(%{__pear} config-get cfg_dir 2> /dev/null || echo undefined) %pear_wwwdir %(%{__pear} config-get www_dir 2> /dev/null || echo undefined) %pear_metadir %(%{__pear} config-get metadata_dir 2> /dev/null || echo undefined) # pecl related macros %__pecl /usr/bin/pecl %pecl_phpdir %(%{__pecl} config-get php_dir 2> /dev/null || echo undefined) %pecl_docdir %(%{__pecl} config-get doc_dir 2> /dev/null || echo undefined) %pecl_testdir %(%{__pecl} config-get test_dir 2> /dev/null || echo undefined) %pecl_datadir %(%{__pecl} config-get data_dir 2> /dev/null || echo undefined) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1056822 http://bugzilla.opensuse.org/show_bug.cgi?id=1056822#c1 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |astieger@suse.com, | |crrodriguez@opensuse.org, | |pgajdos@suse.com Assignee|bnc-team-screening@forge.pr |pgajdos@suse.com |ovo.novell.com | --- Comment #1 from Andreas Stieger <astieger@suse.com> --- We could also ship the intermediate package in Leap, and change php7 in Tumbleweed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1056822 http://bugzilla.opensuse.org/show_bug.cgi?id=1056822#c2 --- Comment #2 from Andreas Stieger <astieger@suse.com> --- Also, would these not be required for TW only anyway? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1056822 http://bugzilla.opensuse.org/show_bug.cgi?id=1056822#c3 --- Comment #3 from Johannes Weberhofer <jweberhofer@weberhofer.at> --- The changes have been accepted in the PHP7 factory project. So they'll be in factory soon. The easiest could be, that php7-devel provides php7-macros and we add the php7-macros as a SR to all supported versions. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1056822 http://bugzilla.opensuse.org/show_bug.cgi?id=1056822#c5 --- Comment #5 from Johannes Weberhofer <jweberhofer@weberhofer.at> --- I have updated the wiki https://en.opensuse.org/openSUSE:Packaging_PHP and updated two packages to get a good example for packaging: https://build.opensuse.org/request/show/520227 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com