diff options
Diffstat (limited to 'python/python-sphinx10.spec')
| -rw-r--r-- | python/python-sphinx10.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/python-sphinx10.spec b/python/python-sphinx10.spec index f4337dc..e8332b9 100644 --- a/python/python-sphinx10.spec +++ b/python/python-sphinx10.spec @@ -18,6 +18,7 @@ Group: Development/Tools License: BSD and Public Domain and Python and (MIT or GPLv2) URL: http://sphinx.pocoo.org/ Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz +Source1: README.Fedora BuildArch: noarch BuildRequires: python2-devel >= 2.4 @@ -82,6 +83,7 @@ This package contains documentation in reST and HTML formats. %prep %setup -q -n %{upstream_name}-%{version}%{?prerel} +cp -p %{SOURCE1} . sed '1d' -i sphinx/pycode/pgen2/token.py %build @@ -138,7 +140,7 @@ make test %files -f sphinx.lang %defattr(-,root,root,-) -%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO +%doc AUTHORS CHANGES EXAMPLES LICENSE README README.Fedora TODO %{_bindir}/sphinx-* %dir %{python_sitelib}/Sphinx-%{version}-py*.egg %{python_sitelib}/Sphinx-%{version}-py*.egg/EGG-INFO @@ -149,7 +151,7 @@ make test %{python_sitelib}/Sphinx-%{version}-py*.egg/sphinx/domains %{python_sitelib}/Sphinx-%{version}-py*.egg/sphinx/ext %dir %{python_sitelib}/Sphinx-%{version}-py*.egg/sphinx/locale -# this includes locale/__init.py*; looks like %dir just means +# this includes locale/__init.py*; looks like %%dir just means # not recursing %dir %{python_sitelib}/Sphinx-%{version}-py*.egg/sphinx/locale/* %dir %{python_sitelib}/Sphinx-%{version}-py*.egg/sphinx/locale/*/LC_MESSAGES |
