diff --git a/asciidoc-8.6.10.tar.gz b/asciidoc-8.6.10.tar.gz deleted file mode 100644 index fd736be..0000000 --- a/asciidoc-8.6.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e52f8578d891beaef25730a92a6e723596ddbd07bfe0d2a56486fcf63a0b983 -size 577208 diff --git a/asciidoc-9.0.0rc1.tar.gz b/asciidoc-9.0.0rc1.tar.gz new file mode 100644 index 0000000..bf9bb1c --- /dev/null +++ b/asciidoc-9.0.0rc1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d5a22039943e43374eedaa1ea3e17a79bf29dd671918c090f535b1b3c6c0997 +size 1143528 diff --git a/asciidoc.changes b/asciidoc.changes index 1fbc97f..04b8691 100644 --- a/asciidoc.changes +++ b/asciidoc.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Jan 14 11:55:07 UTC 2020 - Tomáš Chvátal + +- Update to 9.0.0rc1: + * Port asciidoc to run on Python 3.5+ (see https://github.com/asciidoc/asciidoc for the EOL Python 2 implementation) + * Drop internal implementation of OrderedDict and use the standard library collections.OrderedDict instead + * Implement Dockerfile for running asciidoc + * Add Catalan translation + * Add docbook5 backend + * Fix misspellings in various files and documents + * Use UTC for testing instead of Pacific/Auckland (which observes daylight saving time). + * Use "with" context statement for opening and closing files instead of older try/finally pattern. + * Search sibling paths before system wide paths in asciidocapi + * Add manpage for testasciidoc.py + * Use argparse instead of optparse for argument parsing + * Migrate from A-A-P based build system to Make + ------------------------------------------------------------------- Thu Oct 17 13:37:32 UTC 2019 - Richard Brown diff --git a/asciidoc.spec b/asciidoc.spec index 492a823..8ce800f 100644 --- a/asciidoc.spec +++ b/asciidoc.spec @@ -1,7 +1,7 @@ # # spec file for package asciidoc # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,21 @@ Name: asciidoc -Version: 8.6.10 +Version: 9.0.0rc1 Release: 0 Summary: Text-Based Document Generation License: GPL-2.0-or-later -Url: http://asciidoc.org -Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/asciidoc/asciidoc-py3 +Source0: https://github.com/%{name}/%{name}-py3/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: asciidoc.version.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: docbook-xsl-stylesheets -BuildRequires: python2 >= 2.3 -BuildRequires: python2-xml +BuildRequires: python3 +BuildRequires: python3-xml Requires: docbook-xsl-stylesheets -Requires: python2 >= 2.3 -Requires: python2-xml +Requires: python3 +Requires: python3-xml Recommends: dblatex # a2x needs /usr/bin/xsltproc Recommends: libxslt @@ -49,11 +49,13 @@ Summary: Examples and Documents for asciidoc This package contains examples and documents of asciidoc. %prep -%setup -q +%setup -q -n %{name}-py3-%{version} %patch0 -p1 +# do not use env +find ./ -name \*.py -exec sed -i -e 's:/usr/bin/env\ :/usr/bin/:g' {} \; + %build -sed -i "s|python|python2|g" Makefile.in autoreconf -fi %configure