On Sep 18 2016, Jan Engelhardt
On Friday 2016-09-02 21:52, Rüdiger Meier wrote:
my package is "ftsteutates" which has kmp subpackages ftsteutates-20160601-2.1.x86_64.rpm ftsteutates-kmp-default-20160601_k3.11.6_4-2.1.x86_64.rpm ftsteutates-kmp-desktop-20160601_k3.11.6_4-2.1.x86_64.rpm ftsteutates-kmp-xen-20160601_k3.11.6_4-2.1.x86_64.rpm
ftsteutates should be noarch but when I add BuildArch: noarch
The build fails
%flavors_to_build needs whitespace before body error: line 36: Unknown tag: %internal_kmp_error
How could I do this?
Better to create another subpackage with noarch instead.
Ok, maybe I call it ftsteutates-config or ftsteutates-sensors with post install scripts to create a file for /etc/sensors.d/
As an alternative, ftsteutates.spec as noarch ftsteutates-kmp.spec as normal
Or, to keep a single spec file, rename the main package to something else but don't add a %files section. Then you can use the name ftsteutates for the noarch subpackage. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org