mock README,1.9,1.9.2.1 mock.spec,1.16.2.4,1.16.2.5

John Clark Williams (jcwillia) fedora-extras-commits at redhat.com
Wed Aug 23 22:00:08 UTC 2006


Author: jcwillia

Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30474

Modified Files:
      Tag: mock-0-6-branch
	README mock.spec 
Log Message:
fixed link problem in etc/Makefile; updated README; bumped version in specfile to 0.6.2


Index: README
===================================================================
RCS file: /cvs/fedora/mock/README,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -r1.9 -r1.9.2.1
--- README	29 Mar 2006 06:23:21 -0000	1.9
+++ README	23 Aug 2006 22:00:05 -0000	1.9.2.1
@@ -2,25 +2,34 @@
 Mock is a simple chroot/rpm building program. It doesn't do anything
 terribly fancy other than build a single srpm at a time in a chroot.
 
-You invoke it as:
-mock -r name-of-chroot /path/to/srpm
+You invoke mock using one of the following forms:
+
+   mock [options] [rebuild] /path/to/srpm(s)
+   mock [options] chroot <cmd>
+   mock [options] {init|clean|shell}
 
 options:
   -r CHROOT             chroot name/config file name default: chroot.cfg
   --no-clean            do not clean chroot before building
   --arch=ARCH           target build arch
   --debug               Output copious debugging information
-  --resultdir=RESULTDIR
-                        path for resulting files to be put
+  --resultdir=RESDIR	path for resulting files to be put
   --statedir=STATEDIR   path for state file is written
-  --uniqueext=UNIQUEEXT
-                        Arbitrary, unique extension to append to buildroot
+  --uniqueext=UNIQUEEXT Arbitrary, unique extension to append to buildroot
                         directory name
+  --configdir=CONFIGDIR Change directory where config files are found
+  --quiet		Suppress most output
+  --autocache		Turn on build-root caching
+  --rebuildcache	Force rebuild of build-root cache
+  --help		Show usage information and exit
+  --version		Show version number and exit
 
  commands:
-  init  - initialize a chroot (install pkgs, setup devices, etc,) then exit
-  clean - purge the chroot tree - normally this happens right before a build
+  init   - initialize a chroot (install pkgs, setup devices, etc,) then exit
+  chroot - run the specified command in an (already initialized) chroot
+  clean  - purge the chroot tree - normally this happens right before a build
           but this is for the tidy-minded
+  shell  - start an interactive shell in the specified chroot
   rebuild <srpm> - for mach compatibility
 
 mock does:
@@ -34,6 +43,3 @@
 - logs nicely so that chroot creation and build logs are separate
 - outputs little unless it needs to.
 
-
-TODO: document more
-TODO: man page?


Index: mock.spec
===================================================================
RCS file: /cvs/fedora/mock/mock.spec,v
retrieving revision 1.16.2.4
retrieving revision 1.16.2.5
diff -u -r1.16.2.4 -r1.16.2.5
--- mock.spec	18 Aug 2006 19:35:52 -0000	1.16.2.4
+++ mock.spec	23 Aug 2006 22:00:05 -0000	1.16.2.5
@@ -1,6 +1,6 @@
 Summary: Builds packages inside chroots
 Name: mock
-Version: 0.6.1
+Version: 0.6.2
 Release: 1%{?dist}
 License: GPL
 Group: Development/Tools




More information about the fedora-extras-commits mailing list