- Update for 0.6 release.
- Switch from setuptools installed egg-info to distutils egg-info. Note that this works because we're also changing docutils version. To do this between 0.5-4 and 0.5-5, for instance, we'd need to have %preun scriptlet to get rid of the egg-info directory.
This commit is contained in:
parent
7b5831b129
commit
d3e618deb4
@ -1 +1 @@
|
|||||||
docutils-0.5.tar.gz
|
docutils-0.6.tar.gz
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
%define srcname docutils
|
%define srcname docutils
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.5
|
Version: 0.6
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A system for processing plaintext documentation
|
Summary: System for processing plaintext documentation
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
# See COPYING.txt for information
|
# See COPYING.txt for information
|
||||||
@ -40,13 +40,13 @@ Python inline documentation modules and packages.
|
|||||||
sed -i -e '/#! *\/usr\/bin\/.*python.*/{1D}' docutils/readers/python/pynodes.py
|
sed -i -e '/#! *\/usr\/bin\/.*python.*/{1D}' docutils/readers/python/pynodes.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
||||||
|
|
||||||
for file in %{buildroot}/%{_bindir}/*.py; do
|
for file in %{buildroot}/%{_bindir}/*.py; do
|
||||||
mv $file `dirname $file`/`basename $file .py`
|
mv $file `dirname $file`/`basename $file .py`
|
||||||
@ -73,9 +73,16 @@ rm -rf %{buildroot}
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{python_sitelib}/docutils/
|
%{python_sitelib}/docutils/
|
||||||
%{python_sitelib}/roman.*
|
%{python_sitelib}/roman.*
|
||||||
%{python_sitelib}/*egg-info/
|
%{python_sitelib}/*egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6-1
|
||||||
|
- Update for 0.6 release.
|
||||||
|
- Switch from setuptools installed egg-info to distutils egg-info. Note that
|
||||||
|
this works because we're also changing docutils version. To do this between
|
||||||
|
0.5-4 and 0.5-5, for instance, we'd need to have %%preun scriptlet to get rid
|
||||||
|
of the egg-info directory.
|
||||||
|
|
||||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-4
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user