fix link and update to newer version

Signed-off-by: siddharthvipul <siddharthvipul1@gmail.com>
This commit is contained in:
siddharthvipul 2020-04-06 19:03:14 +05:30
parent fba57f00ae
commit f53885c249

View File

@ -1,21 +1,16 @@
%global srcname docutils
Name: python-%{srcname}
Version: 0.15.2
Release: 5%{?dist}
Version: 0.16
Release: 1%{?dist}
Summary: System for processing plaintext documentation
# 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
# 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: https://sourceforge.net/projects/%{srcname}/files/%{srcname}/%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -104,7 +99,7 @@ done
%check
pushd python3
mv biohazard.swf docs/user/rst/images/biohazard.swf
python3 test3/alltests.py
python3 test/alltests.py
rm docs/user/rst/images/biohazard.swf
popd
@ -119,6 +114,9 @@ popd
%changelog
* Mon Apr 06 2020 siddharthvipul <siddharthvipul1@gmail.com> - 0.16-1
- Update to 0.16
* Sat Apr 04 2020 siddharthvipul <siddharthvipul1@gmail.com> - 0.15.2-5
- Remove python2 subpackage