Accepting request 764271 from home:scarabeus_iv:branches:Publishing

- 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

OBS-URL: https://build.opensuse.org/request/show/764271
OBS-URL: https://build.opensuse.org/package/show/Publishing/asciidoc?expand=0&rev=31
This commit is contained in:
Martin Pluskal 2020-01-14 15:24:42 +00:00 committed by Git OBS Bridge
parent ae9c6bb9d4
commit d3b12524ad
4 changed files with 32 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e52f8578d891beaef25730a92a6e723596ddbd07bfe0d2a56486fcf63a0b983
size 577208

3
asciidoc-9.0.0rc1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d5a22039943e43374eedaa1ea3e17a79bf29dd671918c090f535b1b3c6c0997
size 1143528

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Jan 14 11:55:07 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <rbrown@suse.com>

View File

@ -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