[Fedora-packaging] Re: Temporarily removing a sub-package
Orion Poplawski
orion at cora.nwra.com
Fri Mar 9 18:26:51 UTC 2007
Mike A. Harris wrote:
>
> If the functionality of the -mpi subpackage is not going to
> be provided at all (temporarily or otherwise), then neither.
>
> Use an rpm macro to include/exclude the package:
>
> %define with_mpi 0
>
> Then wrap all areas of the spec file that concern the generation
> of mpi functionality, installation, packaging, file manifest, etc.
> with "%if %{with_mpi}" or "%if ! %{with_mpi}" checks as appropriate.
>
Did that already, thanks.
> Having package contain Provides/Obsoletes for a previous subpackage
> which provides some actual functionality, but which is not present
> due to being disabled, means that software which requires the
> functionality is lied to, and dependency resolution is tricked into
> working, but there are runtime software failures or similar.
>
> Not the correct way to go.
Okay. Is there any concern about old paraview-mpi packages being
stranded, in case this can't be fixed by F7 release (or freeze)?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the Fedora-packaging
mailing list