SPECS (DEVEL): sqwebmail.spec - updated to 5.0.1, removed -build.p...

Elan Ruusamäe glen at delfi.ee
Wed Mar 23 19:29:44 CET 2005


On Wednesday 23 March 2005 20:11, Jakub Bogusz wrote:
> On Mon, Mar 21, 2005 at 06:07:34PM +0100, Andrzej Augustynowicz wrote:
> > Dnia sobota, 5 marca 2005 11:51, Elan Ruusamäe napisał:
> > > please see horde.spec (imp.spec, chora.spec, ...) how to do
> > > apache1/apache2 config changes, ie apache version independant package.
> > >
> > > probably should add the information to devel-hints-en ?
> >
> > Maybe it would be a good solution to run this section as trigger for
> > apache1 and apache2 ?
> > for example, you want to install apache1 when had a lot of php programs
> > installed, and support will be auto added by triggers
>
> Note that if one installs _both_ versions of apache simultaneously, they
> in almost all cases will serve different contents.
> So it's most likely to be unwanted to automatically link app configs to
> both apaches.
> And relinking such config on each upgrade of given apache version will
> be _extremely annoying_.
and if the package itself is upgraded, the config is (again) linked anyway. 
(the current situation is so)
... i've felt that annoyance :(

perhaps change the %post script to place link only on first install?
ie check for [ $1 = 1 ]?

hmm, but placing the link only on first install (eighter package or apache) is 
possible with triggers too. (the same $1 or $2 check)

but i really like the config placement %trigger idea :)


-- 
glen




More information about the pld-devel-en mailing list