1a0cfd
%if 0%{?fedora} || 0%{?rhel} > 7
1a0cfd
%bcond_without python3
1a0cfd
%endif
1a0cfd
1a0cfd
%bcond_with python36_module
1a0cfd
1a0cfd
# python2X and python3X are built form the same module, so we need a conditional for python2 bits
1a0cfd
# the state of the conditional is not important in the spec, it is set in modulemd
1a0cfd
%bcond_with python2
1a0cfd
1a0cfd
%global srcname docutils
1a0cfd
1a0cfd
Name:           python-%{srcname}
1a0cfd
Version:        0.14
1a0cfd
Release:        12%{?dist}
1a0cfd
Summary:        System for processing plaintext documentation
1a0cfd
1a0cfd
Group:          Development/Languages
1a0cfd
# See COPYING.txt for information
1a0cfd
License:        Public Domain and BSD and Python and GPLv3+
1a0cfd
URL:            http://docutils.sourceforge.net
1a0cfd
#Source0:        http://downloads.sourceforge.net/docutils/%%{srcname}-%%{version}.tar.gz
1a0cfd
# Sometimes we need snapshots.  Instructions below:
1a0cfd
# svn co -r 7687 svn://svn.code.sf.net/p/docutils/code/trunk/docutils
1a0cfd
# cd docutils
1a0cfd
# python setup.py sdist
1a0cfd
# The tarball is in dist/docutils-VERSION.tar.gz
1a0cfd
Source0:        %{srcname}-%{version}.tar.gz
1a0cfd
1a0cfd
BuildArch:       noarch
1a0cfd
1a0cfd
1a0cfd
%if %{with python2}
1a0cfd
BuildRequires:  python2-devel
1a0cfd
BuildRequires:  python2-setuptools
1a0cfd
%endif
1a0cfd
1a0cfd
%if %{with python3}
1a0cfd
%if %{with python36_module}
1a0cfd
BuildRequires:  python36-devel
1a0cfd
BuildRequires:  python36-rpm-macros
1a0cfd
%else
1a0cfd
BuildRequires:  python3-devel
1a0cfd
%endif
1a0cfd
%endif
1a0cfd
1a0cfd
%description
1a0cfd
The Docutils project specifies a plaintext markup language, reStructuredText,
1a0cfd
which is easy to read and quick to write.  The project includes a python
1a0cfd
library to parse rST files and transform them into other useful formats such
1a0cfd
as HTML, XML, and TeX as well as commandline tools that give the enduser
1a0cfd
access to this functionality.
1a0cfd
1a0cfd
Currently, the library supports parsing rST that is in standalone files and
1a0cfd
PEPs (Python Enhancement Proposals).  Work is underway to parse rST from
1a0cfd
Python inline documentation modules and packages.
1a0cfd
1a0cfd
%if %{with python2}
1a0cfd
%package -n python2-%{srcname}
1a0cfd
Summary:        System for processing plaintext documentation for python2
1a0cfd
%{?python_provide:%python_provide python2-%{srcname}}
1a0cfd
Obsoletes: docutils < %{version}-%{release}
1a0cfd
1a0cfd
%description -n python2-%{srcname}
1a0cfd
The Docutils project specifies a plaintext markup language, reStructuredText,
1a0cfd
which is easy to read and quick to write.  The project includes a python
1a0cfd
library to parse rST files and transform them into other useful formats such
1a0cfd
as HTML, XML, and TeX as well as commandline tools that give the enduser
1a0cfd
access to this functionality.
1a0cfd
1a0cfd
Currently, the library supports parsing rST that is in standalone files and
1a0cfd
PEPs (Python Enhancement Proposals).  Work is underway to parse rST from
1a0cfd
Python inline documentation modules and packages.
1a0cfd
%endif
1a0cfd
1a0cfd
%if %{with python3}
1a0cfd
%package -n python3-%{srcname}
1a0cfd
Summary:        System for processing plaintext documentation for python3
1a0cfd
%{?python_provide:%python_provide python3-%{srcname}}
1a0cfd
Group:          Development/Languages
1a0cfd
1a0cfd
%description -n python3-%{srcname}
1a0cfd
The Docutils project specifies a plaintext markup language, reStructuredText,
1a0cfd
which is easy to read and quick to write.  The project includes a python
1a0cfd
library to parse rST files and transform them into other useful formats such
1a0cfd
as HTML, XML, and TeX as well as commandline tools that give the enduser
1a0cfd
access to this functionality.
1a0cfd
1a0cfd
Currently, the library supports parsing rST that is in standalone files and
1a0cfd
PEPs (Python Enhancement Proposals).  Work is underway to parse rST from
1a0cfd
Python inline documentation modules and packages.
1a0cfd
1a0cfd
This package contains the module, ported to run under python3.
1a0cfd
%endif # with python3
1a0cfd
1a0cfd
%prep
1a0cfd
%setup -q -n %{srcname}-%{version}
1a0cfd
1a0cfd
# Remove shebang from library files
1a0cfd
for file in docutils/utils/{code_analyzer.py,punctuation_chars.py,error_reporting.py,smartquotes.py} docutils/utils/math/{latex2mathml.py,math2html.py} docutils/writers/xetex/__init__.py; do
1a0cfd
sed -i -e '/#! *\/usr\/bin\/.*/{1D}' $file
1a0cfd
done
1a0cfd
1a0cfd
iconv -f ISO88592 -t UTF8 tools/editors/emacs/IDEAS.rst > tmp
1a0cfd
mv tmp tools/editors/emacs/IDEAS.rst
1a0cfd
1a0cfd
%if %{with python3}
1a0cfd
rm -rf %{py3dir}
1a0cfd
cp -a . %{py3dir}
1a0cfd
%endif
1a0cfd
1a0cfd
%build
1a0cfd
%{?with_python2:%py2_build}
1a0cfd
1a0cfd
%if %{with python3}
1a0cfd
pushd %{py3dir}
1a0cfd
%py3_build
1a0cfd
popd
1a0cfd
%endif # with python3
1a0cfd
1a0cfd
1a0cfd
%install
1a0cfd
1a0cfd
%if %{with python2}
1a0cfd
%py2_install
1a0cfd
1a0cfd
# We only want to ship the Python 3 executables, delete these
1a0cfd
rm -f %{buildroot}/%{_bindir}/*.py
1a0cfd
%endif
1a0cfd
1a0cfd
# We want the licenses but don't need this build file
1a0cfd
rm -f licenses/docutils.conf
1a0cfd
1a0cfd
# Flash file is used for testing docutils but shouldn't be in the installed package.
1a0cfd
mv docs/user/rst/images/biohazard.swf ./biohazard.swf
1a0cfd
1a0cfd
1a0cfd
%if %{with python3}
1a0cfd
pushd %{py3dir}
1a0cfd
%py3_install
1a0cfd
1a0cfd
# docutils setup.py runs 2to3 on a copy of the tests and puts it in sitelib.
1a0cfd
rm -rf %{buildroot}%{python3_sitelib}/test
1a0cfd
1a0cfd
for file in %{buildroot}/%{_bindir}/*.py; do
1a0cfd
    mv $file `dirname $file`/`basename $file .py`
1a0cfd
done
1a0cfd
1a0cfd
# Flash file is used for testing docutils but shouldn't be in the installed package.
1a0cfd
mv docs/user/rst/images/biohazard.swf ./biohazard.swf 
1a0cfd
popd
1a0cfd
1a0cfd
%endif # with python3
1a0cfd
1a0cfd
%check
1a0cfd
mv  biohazard.swf docs/user/rst/images/biohazard.swf
1a0cfd
%{?with_python2:%{__python2} test/alltests.py}
1a0cfd
rm docs/user/rst/images/biohazard.swf
1a0cfd
1a0cfd
%if %{with python3}
1a0cfd
pushd %{py3dir}
1a0cfd
mv  biohazard.swf docs/user/rst/images/biohazard.swf
1a0cfd
%{__python3} test3/alltests.py
1a0cfd
rm docs/user/rst/images/biohazard.swf
1a0cfd
popd
1a0cfd
%endif
1a0cfd
1a0cfd
%if %{with python2}
1a0cfd
%files -n python2-%{srcname}
1a0cfd
%license COPYING.txt licenses/*
1a0cfd
%doc BUGS.txt COPYING.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt 
1a0cfd
%doc THANKS.txt docs tools/editors
1a0cfd
%{python2_sitelib}/*
1a0cfd
%endif
1a0cfd
1a0cfd
%if %{with python3}
1a0cfd
%files -n python3-%{srcname}
1a0cfd
%license COPYING.txt licenses/*
1a0cfd
%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt 
1a0cfd
%doc THANKS.txt docs tools/editors
1a0cfd
%{_bindir}/*
1a0cfd
%{python3_sitelib}/*
1a0cfd
%endif
1a0cfd
1a0cfd
%changelog
1a0cfd
* Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 0.14-12
1a0cfd
- Bumping due to problems with modular RPM upgrade path
1a0cfd
- Resolves: rhbz#1695587
1a0cfd
1a0cfd
* Tue Dec 11 2018 Tomas Orsava <torsava@redhat.com> - 0.14-11
1a0cfd
- Remove python2 executables - they are functionally identical to the python3
1a0cfd
  executables, so we're only going to ship them in the python3 subpackage
1a0cfd
- Resolves: rhbz#1656477
1a0cfd
1a0cfd
* Tue Oct 09 2018 Lumír Balhar <lbalhar@redhat.com> - 0.14-10
1a0cfd
- Remove unversioned provides
1a0cfd
- Resolves: rhbz#1628242
1a0cfd
1a0cfd
* Thu Aug 02 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.14-9
1a0cfd
- Change the binaries to python3 as default
1a0cfd
1a0cfd
* Tue Jul 31 2018 Lumír Balhar <lbalhar@redhat.com> - 0.14-8
1a0cfd
- Switch python3 coditions to bcond
1a0cfd
1a0cfd
* Wed Jul 18 2018 Tomas Orsava <torsava@redhat.com> - 0.14-7
1a0cfd
- BuildRequire also python36-rpm-macros as part of the python36 module build
1a0cfd
1a0cfd
* Wed Jul 04 2018 Miro Hrončok <mhroncok@redhat.com> - 0.14-6
1a0cfd
- Add a bcond for python2
1a0cfd
1a0cfd
* Mon Jun 25 2018 Tomas Orsava <torsava@redhat.com> - 0.14-5
1a0cfd
- Fix the invocation of Python
1a0cfd
1a0cfd
* Mon Apr 30 2018 Tomas Orsava <torsava@redhat.com> - 0.14-4
1a0cfd
- Require the python36-devel package when building for the python36 module
1a0cfd
1a0cfd
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1a0cfd
1a0cfd
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.14-2
1a0cfd
- Update Python 2 dependency declarations to new packaging standards
1a0cfd
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1a0cfd
1a0cfd
* Sun Oct 22 2017 Kevin Fenzi <kevin@scrye.com> - 0.14-1
1a0cfd
- Update to 0.14
1a0cfd
1a0cfd
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.13.1-7
1a0cfd
- Cleanup spec file conditionals
1a0cfd
1a0cfd
* Sun Jul 30 2017 Jan Beran <jberan@redhat.com> - 0.13.1-6
1a0cfd
- Fix missing Python 3 version executables
1a0cfd
1a0cfd
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-5
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1a0cfd
1a0cfd
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-4
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1a0cfd
1a0cfd
* Mon Jan 30 2017 Orion Poplawski <orion@cora.nwra.com> - 0.13.1-3
1a0cfd
- Fix broken python-docutils provides (bug #1399655)
1a0cfd
- Use %%license, python build macro
1a0cfd
- Spec cleanup
1a0cfd
1a0cfd
* Sun Jan 29 2017 Kevin Fenzi <kevin@scrye.com> - 0.13.1-2
1a0cfd
- Rework packaging to make a python2 package and fix provides
1a0cfd
1a0cfd
* Tue Dec 27 2016 Kevin Fenzi <kevin@scrye.com> - 0.13.1-1
1a0cfd
- Update to 0.13.1. Fixes bug #1403399
1a0cfd
- Provide python2 version. Fixes bug #1399655
1a0cfd
1a0cfd
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.12-0.8.20140510svn7747
1a0cfd
- Rebuild for Python 3.6
1a0cfd
- Fix failing tests
1a0cfd
- Remove runtime requirement for python-imaging
1a0cfd
1a0cfd
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-0.7.20140510svn7747
1a0cfd
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1a0cfd
1a0cfd
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-0.6.20140510svn7747
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1a0cfd
1a0cfd
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 0.12-0.5.20140510svn7747
1a0cfd
- Rebuilt for Python3.5 rebuild
1a0cfd
1a0cfd
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 0.12-0.3.20140510svn7747
1a0cfd
- Rebuilt for Python3.5 rebuild
1a0cfd
1a0cfd
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-0.3.20140510svn7747
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1a0cfd
1a0cfd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-0.2.20140510svn7747
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1a0cfd
1a0cfd
* Sat May 10 2014 Orion Poplawski <orion@cora.nwra.com> - 0.12-0.1.20140510svn7747
1a0cfd
- Update to svn snapshot for Python 3.4 support
1a0cfd
- Drop unneeded patch
1a0cfd
1a0cfd
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.11-2
1a0cfd
- Rebuild for Python 3.4
1a0cfd
1a0cfd
* Thu Aug 15 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 0.11-1
1a0cfd
- 0.11 final tarball.
1a0cfd
- Remove flash file from the install (it was only used to run the unittests anyhow)
1a0cfd
1a0cfd
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-0.2.20130715svn7687
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1a0cfd
1a0cfd
* Mon Jul 15 2013 Matej Stuchlik <mstuchli@redhat.com> - 0.11-0.1.20130715svn7687
1a0cfd
- Rebased to new snapshot
1a0cfd
- Removed unnecessary patches
1a0cfd
1a0cfd
* Thu Mar 21 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 0.10-0.8.20120824svn7502
1a0cfd
- Add python3-imaging support :-)
1a0cfd
1a0cfd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-0.7.20120824svn7502
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1a0cfd
1a0cfd
* Sat Aug 25 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.10-0.6.20120824svn7502
1a0cfd
- Further fix of places in the code that use__import__
1a0cfd
1a0cfd
* Fri Aug 24 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.10-0.5.20120824svn7502
1a0cfd
- Rebase to new snapshot with some fixes integrated
1a0cfd
- Reenable one test that I can't replicate the failure with.
1a0cfd
1a0cfd
* Fri Aug 24 2012 David Malcolm <dmalcolm@redhat.com> - 0.10-0.4.20120730svn7490
1a0cfd
- fix/disable failing tests with python 3.3
1a0cfd
1a0cfd
* Tue Aug 14 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.10-0.3.20120730svn7490
1a0cfd
- PyXML patch from upstream
1a0cfd
- Fix ability to disable python3 builds
1a0cfd
1a0cfd
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 0.10-0.2.20120730svn7490
1a0cfd
- remove rhel logic from with_python3 conditional
1a0cfd
1a0cfd
* Mon Jul 30 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.10-0.1.20120730svn7490
1a0cfd
- Update to snapshot that's supposed to take care of the date directive unicode
1a0cfd
  problem in a different way
1a0cfd
- Patch to fix PyXML conflict without using rpm conflicts
1a0cfd
1a0cfd
* Fri Jul 20 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.9.1-1
1a0cfd
- New update from upstream
1a0cfd
- Fixes for previous patches incorporated there
1a0cfd
- roman.py has been moved into a docutils submodule
1a0cfd
- docutils doesn't work with PyXML.  before I poke around for the bug in PyXML,
1a0cfd
  seeing if we're going to go through with deprecating it or if we can sanitize
1a0cfd
  our python stdlib's handling of it.
1a0cfd
- Fix for traceback in https://bugzilla.redhat.com/show_bug.cgi?id=786867
1a0cfd
1a0cfd
* Mon Jan 30 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.8.1-2
1a0cfd
- Fix a unicode traceback https://bugzilla.redhat.com/show_bug.cgi?id=785622
1a0cfd
1a0cfd
* Thu Jan 5 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 0.8.1-1
1a0cfd
- Update to new upstream that has properly licensed files and a few bugfixes
1a0cfd
- Add a patch to fix tracebacks when wrong values are given to CLI apps
1a0cfd
1a0cfd
* Wed Jul 20 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.8-2
1a0cfd
- Replace the Apache licensed files with BSD licensed versions from upstream
1a0cfd
1a0cfd
* Tue Jul 12 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.8-1
1a0cfd
- Upgrade to 0.8 final.
1a0cfd
- Remove the two remaining Apache licensed files until their license is fixed.
1a0cfd
- Patch regressions that we had already submitted upstream -- resubmit
1a0cfd
1a0cfd
* Tue May 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.8-0.1.20110517svn7036
1a0cfd
- Ship a snapshot of 0.8 so that we can build on python-3.2.1
1a0cfd
- Unfortunately, 3.2.1 isn't out yet either.  So also apply a fix for building
1a0cfd
  with 3.2.0 that we'll need to remove later.
1a0cfd
- The new docutils.math module is licensed Apache.  Update the license to reflect this
1a0cfd
1a0cfd
* Wed Mar 16 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.7-5
1a0cfd
- Fix building with python-3.2 via a workaround.  Sent upstream awaiting
1a0cfd
  feedback or a better fix.  Built in rawhide.
1a0cfd
1a0cfd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1a0cfd
1a0cfd
* Sat Jan 1 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 0.7-3
1a0cfd
- Fix scripts so they're the python2 versions not the python3 versions
1a0cfd
1a0cfd
* Thu Dec 30 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.7-2
1a0cfd
- Build for python3
1a0cfd
1a0cfd
* Sun Aug 1 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.7-1
1a0cfd
- Update for 0.7 release
1a0cfd
1a0cfd
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.6-2
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
1a0cfd
1a0cfd
* Tue Jan 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6-1
1a0cfd
- Update for 0.6 release.
1a0cfd
- Switch from setuptools installed egg-info to distutils egg-info.  Note that
1a0cfd
  this works because we're also changing docutils version.  To do this between
1a0cfd
  0.5-4 and 0.5-5, for instance, we'd need to have %%preun scriptlet to get rid
1a0cfd
  of the egg-info directory.
1a0cfd
1a0cfd
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-4
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1a0cfd
1a0cfd
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
1a0cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1a0cfd
1a0cfd
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-2
1a0cfd
- Rebuild for Python 2.6
1a0cfd
1a0cfd
* Wed Aug 6 2008 Toshio Kuratomi <toshio@fedoraproject.org> 0.5-1
1a0cfd
- New upstream version.
1a0cfd
1a0cfd
* Mon Mar 3 2008 Toshio Kuratomi <toshio@fedoraproject.org> 0.4-8
1a0cfd
- Use regular Requires syntax for python-imaging as missingok is just wrong.
1a0cfd
1a0cfd
* Thu Sep 27 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4-7
1a0cfd
- Build egg info.
1a0cfd
1a0cfd
* Mon Aug 13 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4-6
1a0cfd
- Last version had both the old and new rst.el.  Try again with only
1a0cfd
  the new one.
1a0cfd
1a0cfd
* Sun Aug 12 2007 Toshio Kuratomi <a.badger@gmail.com> 0.4-5
1a0cfd
- Make License tag conform to the new Licensing Policy.
1a0cfd
- Fix the rst emacs mode (RH BZ 250100)
1a0cfd
1a0cfd
* Sat Dec 09 2006 Toshio Kuratomi <toshio-tiki-lounge.com> 0.4-4
1a0cfd
- Bump and rebuild for python 2.5 in devel.
1a0cfd
1a0cfd
* Tue Aug 29 2006 Toshio Kuratomi <toshio-tiki-lounge.com> 0.4-3
1a0cfd
- Bump for FC6 rebuild.
1a0cfd
- Remove python byte compilation as this is handled automatically in FC4+.
1a0cfd
- No longer %%ghost .pyo files.
1a0cfd
  
1a0cfd
* Thu Feb 16 2006 Toshio Kuratomi <toshio-tiki-lounge.com> 0.4-2
1a0cfd
- Bump and rebuild for FC5.
1a0cfd
  
1a0cfd
* Sun Jan 15 2006 Toshio Kuratomi <toshio-tiki-lounge.com> 0.4-1
1a0cfd
- Update to 0.4.
1a0cfd
- Scripted the listing of files in the python module.
1a0cfd
- Add a missingok requirement on python-imaging as docutils can make use of
1a0cfd
  it when converting to formats that have images.
1a0cfd
  
1a0cfd
* Tue Jun 7 2005 Toshio Kuratomi <toshio-tiki-lounge.com> 0.3.9-1
1a0cfd
- Update to version 0.3.9.
1a0cfd
- Use a dist tag as there aren't any differences between supported fc
1a0cfd
  releases (FC3, FC4, devel.)
1a0cfd
1a0cfd
* Thu May 12 2005 Toshio Kuratomi <toshio-tiki-lounge.com> 0.3.7-7
1a0cfd
- Bump version and rebuild to sync across architectures.
1a0cfd
1a0cfd
* Sun Mar 20 2005 Toshio Kuratomi <toshio-tiki-lounge.com> 0.3.7-6
1a0cfd
- Rebuild for FC4t1
1a0cfd
1a0cfd
* Sat Mar 12 2005 Toshio Kuratomi <toshio.tiki-lounge.com> 0.3.7-5
1a0cfd
- Add GPL as a license (mschwendt)
1a0cfd
- Use versioned Obsoletes and Provides (mschwendt)
1a0cfd
1a0cfd
* Fri Mar 04 2005 Toshio Kuratomi <toshio.tiki-lounge.com> 0:0.3.7-4
1a0cfd
- Rename to python-docutils per the new packaging guidelines.
1a0cfd
1a0cfd
* Wed Jan 12 2005 Toshio Kuratomi <toshio.tiki-lounge.com> 0:0.3.7-0.fdr.3
1a0cfd
- Really install roman.py and build roman.py[co].  Needed to make sure I have
1a0cfd
  docutils installed to test that it builds roman.py fine in that case.
1a0cfd
1a0cfd
* Tue Jan 11 2005 Toshio Kuratomi <toshio.tiki-lounge.com> 0:0.3.7-0.fdr.2
1a0cfd
- Special case roman.py to always install.  This is the behaviour we want
1a0cfd
  unless something else provides it.  Will need to watch out for this in
1a0cfd
  future Core and Extras packages, but the auto detection code makes it
1a0cfd
  possible that builds will not be reproducible if roman.py were installed
1a0cfd
  from another package.... Lesser of two evils here.
1a0cfd
- Provide python-docutils in case that package were preinstalled from
1a0cfd
  another repository.
1a0cfd
  
1a0cfd
* Fri Dec 31 2004 Toshio Kuratomi <toshio.tiki-lounge.com> 0:0.3.7-0.fdr.1
1a0cfd
- Update to 0.3.7
1a0cfd
- Rename from python-docutils to docutils.
1a0cfd
- Make roman.py optionally a part of the files list.  In FC2, this will be
1a0cfd
  included.  In FC3, this won't.
1a0cfd
- BuildConflict with self since the docutils build detects the presence
1a0cfd
  of roman.py and doesn't reinstall itself.
1a0cfd
  
1a0cfd
* Mon Aug 9 2004 Toshio Kuratomi <toshio.tiki-lounge.com> 0:0.3.5-0.fdr.1
1a0cfd
- Update to 0.3.5.
1a0cfd
- Update spec style to latest fedora-rpmdevtools.
1a0cfd
- Merge everything into a single package.  There isn't very much space
1a0cfd
  advantage to having separate packages in a package this small and in
1a0cfd
  this case, the documentation on using docutils as a library is also a
1a0cfd
  good example of how to write in ReSructuredText.
1a0cfd
1a0cfd
* Sat Jan 10 2004 Michel Alexandre Salim <salimma[AT]users.sf.net> 0:0.3-0.fdr.1
1a0cfd
- Initial RPM release.
1a0cfd