Jasper Capel wrote:
Hi,
This goes for both devel and master branches, on rawhide:
Provides: config(cobbler) = 1.4.2-1.fc11
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(post): /sbin/chkconfig /bin/sh
Requires(preun): /sbin/chkconfig /sbin/service /bin/sh
Requires(postun): /bin/sh
error: Arch dependent binaries in noarch package
RPM build errors:
Arch dependent binaries in noarch package
make: *** [rpms] Error 1
It seems to complain on the presence of 'yaboot', if I remove it from
setup.py and the spec-file, the RPMs build normally.
Is this a bug in our spec, or a bug in rpmbuild?
rpm-4.6.0-8.fc11.x86_64
rpm-build-4.6.0-8.fc11.x86_64
Any ideas? :)
Jasper
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
I am aware of this and I need to fix rawhide by adding this to the spec:
It's all based on new F11 guidelines. The macro to add is:
%_binaries_in_noarch_packages_terminate_build 0
Thanks for the reminder!
I'll see about adding this and doing a rebuild of 1.4.2 in devel today.
(Change will also get added to devel and master branches, of course)
--Michael