SPECS: apache1.spec - unify Provides = http with apache.spec
Elan Ruusamäe
glen at delfi.ee
Sun Nov 13 17:07:23 CET 2005
On Sunday 13 November 2005 15:42, Radoslaw Zielinski wrote:
> > but in real life R: webserver = apache is also pointless, as if package
> > really is both apache compatible then it needs apache >= 1.3.33-3,
> > because earlier apache1 didn't have conf.d like support.
>
> Well, IMHO better this than nothing. Adding some kind of complicated
> P:/R: would make an overkill -- this kind of problem can be solved with
> poldek --upgrade-dist.
R: apache >= 1.3.33-3 is no more complicated than R: webserver = apache, just
use BuildRequires.txt as guide (or appropriate template.spec files)
but the upgrade dist will not help with your offer, because poldek/rpm build
install older depending on requires lines. and without proper requires it
could happen that package is installed (upgraded) earlier than apache that
provides the functionality it needs. this leads to mess which average user is
not capable of resolving manually. i don't think it's worth of that.
> "Conflicts: apache1 < 1.3.33-3" in appropriate specs should do, but I
> don't think it's really needed.
if it's *requirement* then there should be requires line :)
to sum this up, i think 'Provides: webserver = apache' has no value, and only
'Provides: webserver' should be used, otherwise use Requires: apache
--
glen
More information about the pld-devel-en
mailing list