[Fedora-packaging] PHP packaging policy notes

Ralf Corsepius rc040203 at freenet.de
Thu Jul 6 08:15:28 UTC 2006


On Thu, 2006-07-06 at 01:07 -0700, Christopher Stone wrote:
> PHP Packaging Guidelines summary:
> 
> I have updated my template spec file:
> http://tkmame.retrogames.com/fedora-extras/spectemplate-pear.spec
> 
> -Readded the rm dot files and removed the %exclude
> -Removed the default group since this is unclear/undecided at best so
> I guess it is up to the packager to decide
> -Removed the "PEAR:" from the summary line (I don't think we should
> require all pear packages to put "PEAR:" in the summary) if anyone
> disagrees I can add it back because im not too partial either way.
> 
> Questions:
> Is using Requires(post):   %{__pear} okay, or do i have to explicitly
> say /usr/bin/pear?
IMO:

If %{__pear} is _guaranteed_ to be provided and if it expands to a
binary containing an absolute path, yes, this would be fine.

One of these conditions can not be assured, then no, %{__pear} would not
be OK.

Ralf







More information about the Fedora-packaging mailing list