rpms/gjots2/devel gjots2-2.3.7-sitelib.patch, NONE, 1.1 gjots2.spec, 1.9, 1.10 gjots2-2.3.4-sitelib.patch, 1.1, NONE

Radek Vokál rvokal at fedoraproject.org
Mon Sep 1 08:53:39 UTC 2008


Author: rvokal

Update of /cvs/extras/rpms/gjots2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30374

Modified Files:
	gjots2.spec 
Added Files:
	gjots2-2.3.7-sitelib.patch 
Removed Files:
	gjots2-2.3.4-sitelib.patch 
Log Message:
update to 2.3.7, fix sitelib patch


gjots2-2.3.7-sitelib.patch:

--- NEW FILE gjots2-2.3.7-sitelib.patch ---
diff -up gjots2-2.3.7/bin/gjots2.lib gjots2-2.3.7/bin/gjots2
--- gjots2-2.3.7/bin/gjots2.lib	2007-07-28 14:11:45.000000000 +0200
+++ gjots2-2.3.7/bin/gjots2	2008-09-01 10:40:21.000000000 +0200
@@ -17,6 +17,7 @@ def traceit(frame, event, arg):
     return traceit
 
 gettext.install('gjots2', '/usr/share/locale')
+from distutils.sysconfig import get_python_lib
 
 def ver2str(ver):
     return ".".join(map(str,ver))
@@ -78,7 +79,7 @@ if __name__ == '__main__':
 	else:
 		# Assumption: we're running from $prefix/bin
 		prefix, bin = os.path.split(dirName)
-		sys.path = [ prefix + '/lib/gjots2' ] + sys.path
+		sys.path = [ get_python_lib() + '/gjots2' ] + sys.path
 
 	from gui import *
 	from version import *


Index: gjots2.spec
===================================================================
RCS file: /cvs/extras/rpms/gjots2/devel/gjots2.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- gjots2.spec	1 Sep 2008 08:43:05 -0000	1.9
+++ gjots2.spec	1 Sep 2008 08:53:09 -0000	1.10
@@ -24,7 +24,7 @@
 Release: 1%{?dist}
 URL: http://bhepple.freeshell.org/gjots
 Source: http://bhepple.freeshell.org/gjots/%{name}-%{version}.tgz
-Patch0: gjots2-2.3.4-sitelib.patch
+Patch0: gjots2-2.3.7-sitelib.patch
 License: GPLv2+
 Group: Applications/Productivity
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


--- gjots2-2.3.4-sitelib.patch DELETED ---




More information about the fedora-extras-commits mailing list