On Sun, 1 May 2011 19:29:50 +0100 Piscium groknok@gmail.com wrote:
I like to rebuild a number of Fedora source packages for performance and some tweaking.
In the past I have used rpmbuild for that purpose, but this weekend I started using mock.
So far I built about a dozen source packages successfully, but then got a SELinux snag when building glibc (I am using the targeted policy on F14).
The wiki has instructions on how to set SELinux for mock: http://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#SELinux_poli...
I followed the instructions but the result of running Make was different from the expected, there was an error. [1].
My question is if the policy files of the wiki page are current? They are three years old, which is a long time in dog years or Fedora years!
Right. Thats out of date. As far as I know you don't need to do anything special anymore. Mock handles it all.
Just run mock out of the box? Does it fail? If so, how?
kevin