rpms/mock/devel .cvsignore, 1.26, 1.27 mock.spec, 1.44, 1.45 sources, 1.29, 1.30

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


Author: mebrown

Update of /cvs/extras/rpms/mock/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2376

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.
- 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/devel/.cvsignore,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- .cvsignore	6 Nov 2007 23:35:34 -0000	1.26
+++ .cvsignore	19 Nov 2007 16:32:54 -0000	1.27
@@ -1 +1 @@
-mock-0.8.7.tar.gz
+mock-0.8.8.tar.gz


Index: mock.spec
===================================================================
RCS file: /cvs/extras/rpms/mock/devel/mock.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- mock.spec	6 Nov 2007 23:35:34 -0000	1.44
+++ mock.spec	19 Nov 2007 16:32:57 -0000	1.45
@@ -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,31 @@
 %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.
+- 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/devel/sources,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- sources	6 Nov 2007 23:35:34 -0000	1.29
+++ sources	19 Nov 2007 16:32:57 -0000	1.30
@@ -1 +1 @@
-23bd6d101953427dceab5b0ec7d739e8  mock-0.8.7.tar.gz
+830b51f83c82996ee2f4ba522437a0cf  mock-0.8.8.tar.gz




More information about the fedora-extras-commits mailing list