Mailinglist Archive: opensuse-edu (60 mails)

< Previous Next >
openbabel (was Re: [opensuse-edu] DIDASCA, LAZZARO PROJECT and openbabel 2.2.0)
  • From: Lars Vogdt <lrupp@xxxxxxx>
  • Date: Fri, 11 Jul 2008 21:01:41 +0200
  • Message-id: <20080711210141.xcw0egbs0goskows@xxxxxxxxxxxx>
On Fr 11 Jul 2008 20:56:58 CEST Andrea Florio <andrea@xxxxxxxxxxxx> wrote:

Lars Vogdt ha scritto:
What about creating a "pseudo" package like the gcc people do?
--------------
%package libopenbabel
Requires: libopenbabel3

%files libopenbabel
%defattr(-,root,root)
%doc README.SuSE

%package libopenbabel3
Provides: libopenbabel2 = %version
Obsoletes: libopenbabel2 < %version
--------------
Other packages just need to have
Requires: libopenbabel
in their dependencies - the pseudo package will then require the
correct library version (so in the future, just change it to:
%package libopenbabel
Requires: libopenbabel4
for example - no other changes in other packages have to be done.

What do you think about this?

and what's the problem?

The "old" way, every other package has
Requires: libopenbabel3
in his specfile - and must be adapted. With the new proposal, every other package except openbabel just has:
Requires: libopenbabel
and so only the openbabel package has to be adapted.
So it should just be a problem if another package really needs a fixed version - but this is a problem of this single package, then.

With kind regards,
Lars


--
To unsubscribe, e-mail: opensuse-edu+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-edu+help@xxxxxxxxxxxx

< Previous Next >