rpms/python-docutils/F-7 python-docutils.spec,1.10,1.11
Toshio Ernie Kuratomi (toshio)
fedora-extras-commits at redhat.com
Thu Sep 27 21:50:35 UTC 2007
Author: toshio
Update of /cvs/pkgs/rpms/python-docutils/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14353/F-7
Modified Files:
python-docutils.spec
Log Message:
* Thu Sep 27 2007 Toshio Kuratomi <a.badger at gmail.com> 0.4-7
- Build egg info.
Index: python-docutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-docutils/F-7/python-docutils.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- python-docutils.spec 13 Aug 2007 19:38:54 -0000 1.10
+++ python-docutils.spec 27 Sep 2007 21:50:02 -0000 1.11
@@ -4,19 +4,25 @@
Name: python-%{srcname}
Version: 0.4
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: A system for processing plaintext documentation
Group: Development/Languages
# See COPYING.txt for information
License: Public Domain and MIT and Python and GPLv2
URL: http://docutils.sourceforge.net
-Source0: http://dl.sourceforge.net/docutils/%{srcname}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/docutils/%{srcname}-%{version}.tar.gz
Source1: http://svn.berlios.de/viewcvs/*checkout*/docutils/trunk/docutils/tools/editors/emacs/rst.el?rev=5335
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
+%if 0%{?fedora} >= 8
+BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
+
Requires(missingok): python-imaging
Provides: docutils = %{version}-%{release}
Obsoletes: docutils < %{version}-%{release}
@@ -39,13 +45,13 @@
sed -i -e '/#! *\/usr\/bin\/.*python.*/{1D}' docutils/readers/python/pynodes.py
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
%install
rm -rf %{buildroot}
-%{__python} setup.py install --skip-build --root %{buildroot}
+%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
for file in %{buildroot}/%{_bindir}/*.py; do
mv $file `dirname $file`/`basename $file .py`
@@ -76,8 +82,12 @@
%{_bindir}/*
%{python_sitelib}/docutils/
%{python_sitelib}/roman.*
+%{python_sitelib}/*egg-info/
%changelog
+* Thu Sep 27 2007 Toshio Kuratomi <a.badger at gmail.com> 0.4-7
+- Build egg info.
+
* Mon Aug 13 2007 Toshio Kuratomi <a.badger at gmail.com> 0.4-6
- Last version had both the old and new rst.el. Try again with only
the new one.
More information about the scm-commits
mailing list