0.11 final tarball.
- Remove flash file from the install (it was only used to run the unittests anyhow)
This commit is contained in:
parent
a55c99ff24
commit
0bc00b8763
@ -11,20 +11,20 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.11
|
Version: 0.11
|
||||||
Release: 0.2.20130715svn7687%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: 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
|
||||||
License: Public Domain and BSD and Python and GPLv3+
|
License: Public Domain and BSD and Python and GPLv3+
|
||||||
URL: http://docutils.sourceforge.net
|
URL: http://docutils.sourceforge.net
|
||||||
#Source0: http://downloads.sourceforge.net/docutils/%{srcname}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/docutils/%{srcname}-%{version}.tar.gz
|
||||||
# Sometimes we need snapshots. Instructions below:
|
# Sometimes we need snapshots. Instructions below:
|
||||||
# svn co -r 7687 svn://svn.code.sf.net/p/docutils/code/trunk/docutils
|
# svn co -r 7687 svn://svn.code.sf.net/p/docutils/code/trunk/docutils
|
||||||
# cd docutils
|
# cd docutils
|
||||||
# python setup.py sdist
|
# python setup.py sdist
|
||||||
# The tarball is in dist/docutils-VERSION.tar.gz
|
# The tarball is in dist/docutils-VERSION.tar.gz
|
||||||
Source0: %{srcname}-%{version}.tar.gz
|
#Source0: %{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
# Disable some tests known to fail with Python 3.3
|
# Disable some tests known to fail with Python 3.3
|
||||||
# Bug reports filed upstream as:
|
# Bug reports filed upstream as:
|
||||||
@ -119,6 +119,8 @@ pushd %{py3dir}
|
|||||||
# docutils setup.py runs 2to3 on a copy of the tests and puts it in sitelib.
|
# docutils setup.py runs 2to3 on a copy of the tests and puts it in sitelib.
|
||||||
rm -rf %{buildroot}%{python3_sitelib}/test
|
rm -rf %{buildroot}%{python3_sitelib}/test
|
||||||
|
|
||||||
|
# Flash file is used for testing docutils but shouldn't be in the installed package.
|
||||||
|
mv docs/user/rst/images/biohazard.swf ./biohazard.swf
|
||||||
popd
|
popd
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_bindir}/*
|
rm -rf %{buildroot}%{_bindir}/*
|
||||||
@ -133,12 +135,19 @@ done
|
|||||||
# We want the licenses but don't need this build file
|
# We want the licenses but don't need this build file
|
||||||
rm -f licenses/docutils.conf
|
rm -f licenses/docutils.conf
|
||||||
|
|
||||||
|
# Flash file is used for testing docutils but shouldn't be in the installed package.
|
||||||
|
mv docs/user/rst/images/biohazard.swf ./biohazard.swf
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
mv biohazard.swf docs/user/rst/images/biohazard.swf
|
||||||
python test/alltests.py
|
python test/alltests.py
|
||||||
|
rm docs/user/rst/images/biohazard.swf
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
|
mv biohazard.swf docs/user/rst/images/biohazard.swf
|
||||||
python3 test3/alltests.py
|
python3 test3/alltests.py
|
||||||
|
rm docs/user/rst/images/biohazard.swf
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -161,6 +170,10 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 15 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 0.11-1
|
||||||
|
- 0.11 final tarball.
|
||||||
|
- Remove flash file from the install (it was only used to run the unittests anyhow)
|
||||||
|
|
||||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-0.2.20130715svn7687
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-0.2.20130715svn7687
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user