[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: specfile questions



Quentin Spencer wrote:
Chuck R. Anderson wrote:

How is the package tied to the specific installed version? Through dynamically linked libraries? If so, don't put any Requires: at all, just let rpm find the requirements automatically.


It installs in a directory tree that contains octave's version in the name,

And/or you can 'Require' that directory, something like: Requires: %%_datadir/octave-%{octave_ver}

And/or the octave maintainer to make people's lives simpler, can put something in octave.spec, like
Provides: octave-abi = %_octave_abi


*And* provide an octave-version agnostic location to install things to... something like:
/usr/share/octave/


And then octave-forge addons simply install to that /usr/share/octave location and have a single
Requires: octave-abi = %_octave_abi
to match the version for which it was built against.


-- Rex


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]