On 08/07/2013 12:43 PM, Philipp Thomas wrote:
* Andreas Schwab (schwab@suse.de) [20130807 12:35]:
No, it is %prep, %build, %install, %check, %clean.
OK, my wrong. But to answer Berny's question, it wouldn't matter for the testsuite package as even when check is run after install the test log is still packaged as the check section creates the compressed log and the %files section references it.
That means, that the %install section is the "official" way of getting root access during the RPM build in OBS? Just kidding. ;-) Now, as I can add such a new group and user in %install (needed in %check), is there a way to guard these commands to only be executed in OBS/osc environment, i.e., to prevent this to be executed on real-world hosts where coreutils-testsuite is (accidentally) installed? Have a nice day, Berny -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org