User:John64/mock mozilla

From MozillaWiki
Jump to: navigation, search

mock_mozilla

mock_mozilla is a site specific fork of Fedora's mock. It was forked for expedience in developing a demo and I (jhford) intend to do something so that it isn't a complete fork. I don't have time to write full docs, but here are some things I wanted to write.

generating a release

start on a centos6 machine

git clone git://github.com/jhford/mock_mozilla.git
cd mock_mozilla
./autogen.sh
make srpm # this is to get the tarball
mock --buildsrpm --spec mock_mozilla.spec --sources . --resultdir srpm --target x86_64
mock -r epel-6-x86_64 mock_mozilla-1.0.1-1.el6.src.rpm --resultdir x86_64 --target x86_64