There is now a mock instance setup on fixed for anyone wanting to do el5 package builds. I wrote a script to make building packages a bit easier[1] and another to setup a basic build environment[2].
Most of the SA team is now in the local to fixed mock group. Does anyone know how to "puppetize" this? [jschroe...@fixed ~]$ getent group mock mock:x:104:jschroeder,menthos,otaylor,gpastore,ovitters,johncarr,sri,alexos,pcutler A typical workflow would be something like this: [jschroe...@fixed build]$ pkgbuild i386 SPECS/drupal.spec INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start INFO: Start(/home/users/jschroeder/build/SRPMS/drupal-6.14-1.src.rpm) Config(epel-5-i386) State Changed: lock buildroot State Changed: clean State Changed: init State Changed: lock buildroot Mock Version: 0.9.14 INFO: Mock Version: 0.9.14 INFO: enabled root cache State Changed: unpacking root cache INFO: enabled yum cache State Changed: cleaning yum metadata INFO: enabled ccache State Changed: running yum State Changed: setup State Changed: build INFO: Done(/home/users/jschroeder/build/SRPMS/drupal-6.14-1.src.rpm) Config(epel-5-i386) 0 minutes 26 seconds INFO: Results and/or logs in: /home/users/jschroeder/build/RPMS/ [jschroe...@fixed build]$ pkgbuild x86_64 SRPMS/drupal-6.14-1.src.rpm INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start INFO: Start(SRPMS/drupal-6.14-1.src.rpm) Config(epel-5-x86_64) State Changed: lock buildroot State Changed: clean State Changed: init State Changed: lock buildroot Mock Version: 0.9.14 INFO: Mock Version: 0.9.14 INFO: enabled root cache State Changed: unpacking root cache INFO: enabled yum cache State Changed: cleaning yum metadata INFO: enabled ccache State Changed: running yum State Changed: setup State Changed: build INFO: Done(SRPMS/drupal-6.14-1.src.rpm) Config(epel-5-x86_64) 0 minutes 37 seconds INFO: Results and/or logs in: /home/users/jschroeder/build/RPMS/ This will be wiki-ized once I've got a few more things done and have looked at the gnome rpm repos more. [1] http://www.digitalprognosis.com/opensource/scripts/pkgbuild [2] http://www.digitalprognosis.com/opensource/scripts/rpmbuildenv.sh -- Jeff Schroeder Don't drink and derive, alcohol and analysis don't mix. http://www.digitalprognosis.com _______________________________________________ gnome-infrastructure mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-infrastructure
