SPECS: apache1.spec - unify Provides = http with apache.spec
Elan Ruusamäe
glen at delfi.ee
Sun Nov 13 12:48:08 CET 2005
On Saturday 12 November 2005 19:44, Radoslaw Zielinski wrote:
> Elan Ruusamäe <glen at delfi.ee> [23-10-2005 13:58]:
> > On Wednesday 19 October 2005 16:03, Andrzej Krzysztofowicz wrote:
> >> glen wrote:
>
> [...]
>
> >>> -Provides: httpd
> >>> +Provides: httpd = %{version}
> >>
> >> If it is apache/apache1 specific, another provides should be used, IMO.
> >
> > i don't know. i don't use that. i just unified.
> >
> > for apache specific one there is another provides line. (provides
> > webserver = apache)
>
> What's the point of "Provides: httpd" anyway? Most specs use the
> "webserver" virtual dependency ("R: webserver", and "R: webserver =
> apache" if apache only). IIRC that was unified; right now:
>
> $ egrep -r '^Requires:[[:blank:]]+httpd' SPECS
> SPECS/sqmgrlog.spec:Requires: httpd
> SPECS/squid.spec:Requires: httpd
> SPECS/w3cam.spec:Requires: httpd
> SPECS/wwwcount.spec:Requires: httpd
> SPECS/wordpress.spec:Requires: httpd
well. lets decide that R: httpd should be dropped and R: webserver = apache
should be used instead. without version. as version is pointless.
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.
> And:
>
> $ egrep -r '^Requires:[[:blank:]]+webserver' SPECS | wc -l
> 69
--
glen
More information about the pld-devel-en
mailing list