custom policy guidelines

Wart wart at kobold.org
Wed Jul 23 05:58:05 UTC 2008


The proposed guidelines on the wiki recommend a %define macro to embed
the build-time selinux-policy version in the resulting -selinux
subpackage Requires:

https://fedoraproject.org/wiki/PackagingDrafts/SELinux/PolicyModules#Runtime_Dependencies

This has worked fine for me in F-8 and F-9, but when I try to build the
package (crossfire) in rawhide, mock now gives the error below.  Is this
a temporary rawhide problem, or do the guidelines need to be updated?

--Wart

Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386
--nodeps builddir/build/SPECS/crossfire.spec']
/etc/profile: line 38: /bin/hostname: No such file or directory
sed: can't read /usr/share/selinux/devel/policyhelp: No such file or
directory
error:
syntax error in expression
error:
/builddir/build/SPECS/crossfire.spec:91: parseExpressionBoolean returns -1
Building target platforms: i386
Building for target i386
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.




More information about the fedora-selinux-list mailing list