rpms/TurboGears/devel turbogears-sqlcreate.patch, NONE, 1.1 TurboGears.spec, 1.49, 1.50
Toshio くらとみ
toshio at fedoraproject.org
Tue Dec 1 02:03:02 UTC 2009
- Previous message (by thread): rpms/fbterm/F-10 fbterm-1.6-el5.patch, NONE, 1.1 fbterm-1.6-rpmpack.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 fbterm.spec, 1.7, 1.8 import.log, 1.7, 1.8 sources, 1.6, 1.7 fbterm-1.5-rpmpack.patch, 1.1, NONE
- Next message (by thread): rpms/fbterm/EL-5 fbterm-1.6-el5.patch, NONE, 1.1 fbterm-1.6-rpmpack.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 fbterm.spec, 1.6, 1.7 import.log, 1.6, 1.7 sources, 1.6, 1.7 fbterm-1.5-rpmpack.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: toshio
Update of /cvs/pkgs/rpms/TurboGears/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7634
Modified Files:
TurboGears.spec
Added Files:
turbogears-sqlcreate.patch
Log Message:
* Mon Nov 30 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0.8-8
- Fix problem with sql create and sqlobject
turbogears-sqlcreate.patch:
base.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- NEW FILE turbogears-sqlcreate.patch ---
Index: TurboGears-1.0.8/turbogears/command/base.py
===================================================================
--- TurboGears-1.0.8.orig/turbogears/command/base.py
+++ TurboGears-1.0.8/turbogears/command/base.py
@@ -128,11 +128,15 @@ class SQL(CommandWithDB):
if not eggname or not os.path.exists(
os.path.join(eggname[0], "sqlobject.txt")):
eggname = self.fix_egginfo(eggname)
+ # Turn the egg directory name into a package name
eggname = eggname[0].replace(".egg-info", "")
+ pkgname = '-'.join(eggname.split('-')[:-2])
+ pkgversion = eggname.split('-')[-2]
+ pkgname = '%s == %s' % (pkgname, pkgversion)
if not "." in sys.path:
sys.path.append(".")
pkg_resources.working_set.add_entry(".")
- sys.argv.insert(2, eggname)
+ sys.argv.insert(2, pkgname)
sys.argv.insert(2, "--egg")
command.the_runner.run(sys.argv)
Index: TurboGears.spec
===================================================================
RCS file: /cvs/pkgs/rpms/TurboGears/devel/TurboGears.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -p -r1.49 -r1.50
--- TurboGears.spec 17 Aug 2009 20:56:29 -0000 1.49
+++ TurboGears.spec 1 Dec 2009 02:03:01 -0000 1.50
@@ -3,7 +3,7 @@
Name: TurboGears
Version: 1.0.8
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Back-to-front web development in Python
Group: Development/Languages
@@ -17,6 +17,8 @@ Patch2: %{name}-%{version}-pagin
# From upstream bug report: http://trac.turbogears.org/ticket/2348
# Going into TG-1.1 but not TG-1.0.x
Patch3: feedkid.diff
+# Reported upstream
+Patch4: turbogears-sqlcreate.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -76,6 +78,7 @@ TurboGears is easy to use for a wide ran
%patch1 -b .setup
%patch2 -p3 -b .paginate
%patch3 -p0 -b .feedkid
+%patch4 -p1 -b .sqlcreate
%build
%{__python} setup.py build
@@ -98,6 +101,9 @@ rm -rf %{buildroot}
%{python_sitelib}/turbogears/
%changelog
+* Mon Nov 30 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0.8-8
+- Fix problem with sql create and sqlobject
+
* Mon Aug 17 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 1.0.8-7
- Update Requires conditionals so we can share with EPEL
- Previous message (by thread): rpms/fbterm/F-10 fbterm-1.6-el5.patch, NONE, 1.1 fbterm-1.6-rpmpack.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 fbterm.spec, 1.7, 1.8 import.log, 1.7, 1.8 sources, 1.6, 1.7 fbterm-1.5-rpmpack.patch, 1.1, NONE
- Next message (by thread): rpms/fbterm/EL-5 fbterm-1.6-el5.patch, NONE, 1.1 fbterm-1.6-rpmpack.patch, NONE, 1.1 .cvsignore, 1.6, 1.7 fbterm.spec, 1.6, 1.7 import.log, 1.6, 1.7 sources, 1.6, 1.7 fbterm-1.5-rpmpack.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list