rpms/mock/F-7 .cvsignore, 1.24, 1.25 mock.spec, 1.41, 1.42 sources, 1.27, 1.28

Michael E Brown (mebrown) fedora-extras-commits at redhat.com
Mon Nov 19 16:55:39 UTC 2007


Author: mebrown

Update of /cvs/extras/rpms/mock/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4940

Modified Files:
	.cvsignore mock.spec sources 
Log Message:
* Mon Nov 19 2007 Michael Brown <mebrown at michaels-house.net> - 0.8.8-1
- make it run correctly when called by the 'root' user
- internal_setarch: optionally run 'setarch' internally. This
  eliminates the need to run "setarch i386 mock ..." when building on
  target_arch != build_arch. This is turned on by default. Limitations:
  must have 'ctypes' python module available, which is only available
  by default in python 2.5, or as an extension module in <= 2.4.
  If the 'ctypes' module is not available, this feature will be
  disabled and you must manually run 'setarch'.
- Does not run 'clean' action for 'shell', 'chroot', 'install', or
  'installdeps' (docs updated)
- fix build for top_builddir != top_srcdir
- fix 'installdeps' so that it works with both rpms/srpms
- missing device file /dev/ptmx was causing 'expect' command to always
  fail. Affected any SRPM build that used 'expect'.
- hard spec file dep on python >= 2.4 due to python syntax changes.
- resultdir can now contain python-string substitutions for any
  variable in the chroot config.
  rebuild my.src.rpm
- add 'dist' variable to all chroot config files so that it is
  available for resultdir substitutions.
- give good error message when logging.ini cannot be found.
- change default logging format to remove verbosity from build.log.
- make logging format configurable from defaults.cfg or chroot cfg.
- less verbose state.log format



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mock/F-7/.cvsignore,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- .cvsignore	6 Nov 2007 23:43:59 -0000	1.24
+++ .cvsignore	19 Nov 2007 16:54:52 -0000	1.25
@@ -1 +1 @@
-mock-0.8.7.tar.gz
+mock-0.8.8.tar.gz


Index: mock.spec
===================================================================
RCS file: /cvs/extras/rpms/mock/F-7/mock.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- mock.spec	6 Nov 2007 23:43:59 -0000	1.41
+++ mock.spec	19 Nov 2007 16:54:52 -0000	1.42
@@ -1,22 +1,13 @@
 # next four lines substituted by autoconf
 %define major 0
 %define minor 8
-%define sub 7
+%define sub 8
 %define extralevel %{nil}
 %define release_name mock
 %define release_version %{major}.%{minor}.%{sub}%{extralevel}
 
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
-# Compat for RHEL3 build
-%if %(test "%{dist}" == ".el3" && echo 1 || echo 0)
-# needed for RHEL3 build, python-devel doesnt seem to Require: python in
-# RHEL3
-BuildRequires:  python
-# override sitelib because this messes up on x86_64
-%define python_sitelib %{_exec_prefix}/lib/python2.2/site-packages/
-%endif
-
 Summary: Builds packages inside chroots
 Name: mock
 Version: %{release_version}
@@ -26,7 +17,7 @@
 Source: http://fedoraproject.org/projects/mock/releases/%{name}-%{version}.tar.gz
 URL: http://fedoraproject.org/wiki/Projects/Mock
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: python, yum >= 2.4, tar, gzip
+Requires: python >= 2.4, yum >= 2.4, tar, gzip
 Requires(pre): shadow-utils
 BuildRequires: python-devel
 
@@ -73,6 +64,32 @@
 %attr(02775, root, mock) %dir /var/lib/mock
 
 %changelog
+* Mon Nov 19 2007 Michael Brown <mebrown at michaels-house.net> - 0.8.8-1
+- make it run correctly when called by the 'root' user
+- internal_setarch: optionally run 'setarch' internally. This
+  eliminates the need to run "setarch i386 mock ..." when building on
+  target_arch != build_arch. This is turned on by default. Limitations:
+  must have 'ctypes' python module available, which is only available
+  by default in python 2.5, or as an extension module in <= 2.4.
+  If the 'ctypes' module is not available, this feature will be
+  disabled and you must manually run 'setarch'.
+- Does not run 'clean' action for 'shell', 'chroot', 'install', or
+  'installdeps' (docs updated)
+- fix build for top_builddir != top_srcdir
+- fix 'installdeps' so that it works with both rpms/srpms
+- missing device file /dev/ptmx was causing 'expect' command to always
+  fail. Affected any SRPM build that used 'expect'.
+- hard spec file dep on python >= 2.4 due to python syntax changes.
+- resultdir can now contain python-string substitutions for any
+  variable in the chroot config.
+  rebuild my.src.rpm
+- add 'dist' variable to all chroot config files so that it is
+  available for resultdir substitutions.
+- give good error message when logging.ini cannot be found.
+- change default logging format to remove verbosity from build.log.
+- make logging format configurable from defaults.cfg or chroot cfg.
+- less verbose state.log format
+
 * Mon Oct 22 2007 Michael Brown <mebrown at michaels-house.net> - 0.8.4-1
 - fix reported 'bad owner/group' from rpm in some configurations.
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mock/F-7/sources,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- sources	6 Nov 2007 23:43:59 -0000	1.27
+++ sources	19 Nov 2007 16:54:52 -0000	1.28
@@ -1 +1 @@
-23bd6d101953427dceab5b0ec7d739e8  mock-0.8.7.tar.gz
+8854fa7a0dffaef09ba8d7b691e7384c  mock-0.8.8.tar.gz




More information about the fedora-extras-commits mailing list