Author: lev
Date: Sun Dec 10 05:46:48 2006
New Revision: 94433

Added:
   packages/cooker/ipython/current/SOURCES/setup.py.patch.bz2   (contents, 
props changed)
Modified:
   packages/cooker/ipython/current/SPECS/ipython.spec

Log:
Include man pages properly.


Added: packages/cooker/ipython/current/SOURCES/setup.py.patch.bz2
==============================================================================
Binary file. No diff available.

Modified: packages/cooker/ipython/current/SPECS/ipython.spec
==============================================================================
--- packages/cooker/ipython/current/SPECS/ipython.spec  (original)
+++ packages/cooker/ipython/current/SPECS/ipython.spec  Sun Dec 10 05:46:48 2006
@@ -9,6 +9,7 @@
 Release:       %mkrel %{rel}
 Source0:       http://ipython.scipy.org/dist/%{tar_name}-%{version}.tar.bz2
 Patch0:                Shell.py.patch.bz2
+Patch1:                setup.py.patch.bz2
 License:       BSD-like
 Group:                 Development/Python
 BuildRoot:     %{_tmppath}/%{name}-buildroot
@@ -52,6 +53,7 @@
 %prep
 %setup -q -n %{tar_name}-%{version}
 %patch0 -p0
+%patch1 -p0
 
 %build
 %__python setup.py build
@@ -59,18 +61,15 @@
 %install
 
 %__rm -rf %{buildroot}
-%__python setup.py install --root=%{buildroot}
-%__rm -Rf %{buildroot}/usr/share/doc/ 
+%__python setup.py install --root=%{buildroot} --record=INSTALLED_FILES
+
+#%__rm -Rf %{buildroot}/usr/share/doc/ 
+#%__grep -v /usr/share/doc INSTALLED_FILES.tmp > INSTALLED_FILES
 
 %clean
 %__rm -rf %{buildroot}
 
-%files 
+
+%files -f INSTALLED_FILES
 %defattr(-,root,root)
 %doc doc/* README
-%_bindir/*
-%py_puresitedir/IPython/
-%_mandir/man1/*
-%if %python_version == 2.5
-%py_puresitedir/*.egg-info
-%endif

Reply via email to