Overview

Request 519119 revoked

New PHP7 packaging macros


Johannes Weberhofer's avatar
author source maintainer target maintainer

This request improves compatibility to Fedora and simplifies packaging a lot.

What is contained in the request? * php7-macros and php5-macros contains new packaging macros which makes packaging more simple, Have a look at the macros.php.

  • I will check that those macros will be included in php5 and php7 packages in the future, but until that's done the macros can must be included in the spec files. Currently "BuildRequires: %{php_name}-macros" is required, but this can be moved to the "%if 0%{?suse_version} < 1320" as soon as PHP7 has been updated in factory

  • Current openSUSE Versions require "BuildRequires: %{php_name}-pear-Archive_Tar" to be included. I have already submitted a fix to factory so new versions will no longer need that

  • I highly vote for removing all those lower-case Provides/Obsoletes; let's just use the original package's name!

  • For the future we should create virtual provides using the upstream names: Provides: php-pear(Auth_SASL) = %{version}

Related to this, the old php-macros project can be deleted. Therefor I have created https://build.opensuse.org/request/show/519123

I have attached an working example in: php7-pear-Auth_SASL

If you have no objections, I'd accept the changes to server:php:applications and prepare a request for future inclusion of the macros into factory and update the wiki pages.


Bruno Friedmann's avatar

Awesome !!! Thanks a lot for the work.


Request History
Johannes Weberhofer's avatar

weberho created request

New PHP7 packaging macros


Johannes Weberhofer's avatar

weberho revoked request

New request with some fixes in #520131

openSUSE Build Service is sponsored by