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