Am Freitag, 21. Oktober 2011, 23:19:55 schrieb Philipp Thomas:
On Sat, 22 Oct 2011 00:13:54 +0400, Ilya Chernykh
I want to skip all subpackages in a very fat
package. How can I do
this quickly, and, desirably, with a condition depending on a set
I think about the file list: to prevent failure I
would have to either
add %exclude to all non-needed files (tens of them) or delete them
after installation. Is there another way?
There is no option in configure script to skip building the subpackages.
The only semi-quick way is defining a variable at the top
%define build_subpacks 0
And then wrap all package blocks at the top like so:
it is not really needed to exclude %package and $description. Just excluding
%files is enough.
and at the bottom wrap the files blocks like
either do it with conditional %excludes or put a conditional block in
the %build section that deletes the files for the sub packages. There
is AFAIK no really quick way to suppress the building of sub packages.
SUSE Linux Products GmbH
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org