Re: Re: Temporarily removing a sub-package

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

 



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@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux