devel/gazpacho setup-path.patch,NONE,1.1 gazpacho.spec,1.6,1.7
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Thu Mar 24 05:44:51 UTC 2005
Author: skvidal
Update of /cvs/extras/devel/gazpacho
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27057
Modified Files:
gazpacho.spec
Added Files:
setup-path.patch
Log Message:
fix gazpacho so it runs using upstream patch to setup.py
patch will be in next release so it can be dropped when we
package next release
setup-path.patch:
--- NEW FILE setup-path.patch ---
--- gazpacho/setup.py 2005/02/21 17:00:53 953
+++ gazpacho/setup.py 2005/02/23 18:00:51 955
@@ -42,7 +42,7 @@
i += 1
# unless we are installing, don't generate the path.py file
- if 'install' in sys.prefix:
+ if 'install' in sys.argv:
f = file(join('gazpacho', 'path.py'), 'w')
f.write('pixmaps_dir = r"%s"\n' % join(prefix, 'share', 'gazpacho',
'pixmaps'))
Index: gazpacho.spec
===================================================================
RCS file: /cvs/extras/devel/gazpacho/gazpacho.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gazpacho.spec 23 Mar 2005 22:52:56 -0000 1.6
+++ gazpacho.spec 24 Mar 2005 05:44:49 -0000 1.7
@@ -1,12 +1,13 @@
Summary: Glade Interface Creator
Name: gazpacho
Version: 0.5.2
-Release: 2
+Release: 3
License: GPL
Group: Development/Tools
URL: http://gruppy.sicem.biz/descargas
Provides: Gazpacho = %{version}-%{release}
Source0: gazpacho-%{version}.tar.bz2
+Patch0: setup-path.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: pygtk2 >= 2.4.0, pygtk2-libglade
@@ -18,6 +19,7 @@
%prep
%setup -q -n Gazpacho-%{version}
+%patch0 -p1
%build
python ./setup.py build
@@ -39,6 +41,9 @@
%changelog
+* Thu Mar 24 2005 Seth Vidal <skvidal at phy.duke.edu> - 0.5.2-3
+- add patch for setup.py from upstream cvs to fix lack of gazpacho/path.py
+
* Wed Mar 23 2005 Seth Vidal <skvidal at phy.duke.edu> - 0.5.2-2
- increment release for rebuild on python 2.4
More information about the fedora-extras-commits
mailing list