[python-docutils] 0.11 final tarball.

Toshio くらとみ toshio at fedoraproject.org
Fri Aug 16 04:29:04 UTC 2013


commit 0bc00b87637f606be1c0ab84f84619d798a8dd65
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Thu Aug 15 21:28:44 2013 -0700

    0.11 final tarball.
    
    - Remove flash file from the install (it was only used to run the unittests anyhow)

 python-docutils.spec |   19 ++++++++++++++++---
 sources              |    2 +-
 2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/python-docutils.spec b/python-docutils.spec
index 254d469..40caec4 100644
--- a/python-docutils.spec
+++ b/python-docutils.spec
@@ -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 at 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 at lists.fedoraproject.org> - 0.11-0.2.20130715svn7687
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index ec60f42..cd358b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3dbd06661b88f4b512d5aaf5ebb46a01  docutils-0.11.tar.gz
+20ac380a18b369824276864d98ec0ad6  docutils-0.11.tar.gz


More information about the scm-commits mailing list