[python-sqlobject] add build-time requirement on python-formencode

dmalcolm dmalcolm at fedoraproject.org
Tue Dec 6 22:44:10 UTC 2011


commit 9f17625afc6548c53e181eb9b760fc394195e4cf
Author: David Malcolm <dmalcolm at redhat.com>
Date:   Tue Dec 6 17:42:45 2011 -0500

    add build-time requirement on python-formencode
    
    Fixes a build error seen with 1.0.1:
    
    + /usr/bin/python setup.py build
    Traceback (most recent call last):
      File "setup.py", line 12, in <module>
        from sqlobject import version, version_info
      File "/builddir/build/BUILD/SQLObject-1.0.1/sqlobject/__init__.py", line 6, in <module>
        from col import *
      File "/builddir/build/BUILD/SQLObject-1.0.1/sqlobject/col.py", line 31, in <module>
        from formencode import compound
    ImportError: No module named formencode

 python-sqlobject.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/python-sqlobject.spec b/python-sqlobject.spec
index fc7ef1c..523f54e 100644
--- a/python-sqlobject.spec
+++ b/python-sqlobject.spec
@@ -2,7 +2,7 @@
 
 Name:           python-sqlobject
 Version:        1.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        SQLObject Object-Relational Manager, aka database wrapper
 
 Group:          Development/Libraries
@@ -15,6 +15,7 @@ BuildArch:      noarch
 
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
+BuildRequires:  python-formencode
 Requires:       python-sqlite2
 Requires:       python-formencode >= 1.1.1
 Requires:       MySQL-python
@@ -53,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/*
 
 %changelog
+* Tue Dec  6 2011 David Malcolm <dmalcolm at redhat.com> - 1.0.1-2
+- add build-time requirement on python-formencode
+
 * Thu Jun 16 2011 Luke Macken <lmacken at redhat.com> - 1.0.1-1
 - Update to 1.0.1 (#690119)
 


More information about the scm-commits mailing list