Build docs on 64-bit architectures only
In the light of the recent discussion about dropping i686 packages, let's stop building our docs there. This reduces the amount of tools needed in the mock root. Unfortunately we need to move the man page out of the noarch ukify subpackage, because it needs to be the same on all architectures where it is built.
This commit is contained in:
parent
5d30fd3b26
commit
40b38a04d2
2 changed files with 3 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ for file in files(buildroot):
|
|||
o = outputs['rpm-macros']
|
||||
elif '/usr/lib/systemd/tests' in n:
|
||||
o = outputs['tests']
|
||||
elif 'ukify' in n:
|
||||
elif 'ukify' in n and '/man/' not in n:
|
||||
o = outputs['ukify']
|
||||
elif re.search(r'/libsystemd-core-.*\.so$', n):
|
||||
o = outputs['main']
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@
|
|||
%bcond bootstrap 0
|
||||
%bcond tests 1
|
||||
%bcond lto 1
|
||||
%bcond docs 1
|
||||
# Build docs on 64-bit architectures only
|
||||
%bcond docs %[%{?__isa_bits} >= 64]
|
||||
|
||||
# Build from git main
|
||||
%bcond upstream 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue