Accepting request 1074327 from home:amanzini:branches:Publishing

- update to 3.0.0a:
  * add a new testcase to verify that -> ... <- works properly
  * have all of the extensions code guarded by checking against MKD_STRICT
  * rework the tag handler
- enabled test suite during build

OBS-URL: https://build.opensuse.org/request/show/1074327
OBS-URL: https://build.opensuse.org/package/show/Publishing/discount?expand=0&rev=30
This commit is contained in:
Martin Pluskal 2023-03-25 17:35:52 +00:00 committed by Git OBS Bridge
parent 8f2f58ee61
commit 042bbfb171
5 changed files with 25 additions and 10 deletions

View File

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

BIN
discount-3.0.0a.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
Index: discount-2.2.6/configure.inc
Index: discount-3.0.0a/configure.inc
===================================================================
--- discount-2.2.6.orig/configure.inc
+++ discount-2.2.6/configure.inc
@@ -1455,7 +1455,6 @@ __AC_ELF_LIBRARIAN() {
--- discount-3.0.0a.orig/configure.inc
+++ discount-3.0.0a/configure.inc
@@ -1456,7 +1456,6 @@ __AC_ELF_LIBRARIAN() {
if $AC_CC $_VFLAGS -o ngc$$.so ngc$$.c; then
USE_SONAME=T
fi

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 23 16:24:30 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
- update to 3.0.0a:
* add a new testcase to verify that -> ... <- works properly
* have all of the extensions code guarded by checking against MKD_STRICT
* rework the tag handler
- enabled test suite during build
-------------------------------------------------------------------
Thu Jan 5 15:27:53 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,20 +16,22 @@
#
%define sover 2
%define sover 3
%bcond_with fenced_code
Name: discount
Version: 2.2.7b
Version: 3.0.0a
Release: 0
Summary: Markdown text to HTML converter
License: BSD-3-Clause
Group: Productivity/Text/Convertors
URL: https://www.pell.portland.or.us/~orc/Code/discount/
Source: https://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2
Source: https://github.com/Orc/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch1: discount-disable_ldconfig.patch
BuildRequires: fdupes
BuildRequires: pkgconfig
Provides: markdown
Requires(preun):update-alternatives
Requires(postun):update-alternatives
%description
Discount is an implementation of John Grubers Markdown text to HTML language
@ -74,6 +76,9 @@ CFLAGS="%{optflags}" ./configure.sh \
--enable-all-features
%make_build
%check
make test
%install
make DESTDIR=%{buildroot} install.everything