0.11 final tarball.

- Remove flash file from the install (it was only used to run the unittests anyhow)
This commit is contained in:
Toshio Kuratomi 2013-08-15 21:28:44 -07:00
parent a55c99ff24
commit 0bc00b8763
2 changed files with 17 additions and 4 deletions

View File

@ -11,20 +11,20 @@
Name: python-%{srcname}
Version: 0.11
Release: 0.2.20130715svn7687%{?dist}
Release: 1%{?dist}
Summary: System for processing plaintext documentation
Group: Development/Languages
# See COPYING.txt for information
License: Public Domain and BSD and Python and GPLv3+
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:
# svn co -r 7687 svn://svn.code.sf.net/p/docutils/code/trunk/docutils
# cd docutils
# python setup.py sdist
# 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
# 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.
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
rm -rf %{buildroot}%{_bindir}/*
@ -133,12 +135,19 @@ done
# We want the licenses but don't need this build file
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
mv biohazard.swf docs/user/rst/images/biohazard.swf
python test/alltests.py
rm docs/user/rst/images/biohazard.swf
%if 0%{?with_python3}
pushd %{py3dir}
mv biohazard.swf docs/user/rst/images/biohazard.swf
python3 test3/alltests.py
rm docs/user/rst/images/biohazard.swf
popd
%endif
@ -161,6 +170,10 @@ rm -rf %{buildroot}
%endif
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
3dbd06661b88f4b512d5aaf5ebb46a01 docutils-0.11.tar.gz
20ac380a18b369824276864d98ec0ad6 docutils-0.11.tar.gz