From 042bbfb171b097d008ea18001a70b96ed7bcdccc70d6741dee2784c5c40463db Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 25 Mar 2023 17:35:52 +0000 Subject: [PATCH] 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 --- discount-2.2.7b.tar.bz2 | 3 --- discount-3.0.0a.tar.gz | 3 +++ discount-disable_ldconfig.patch | 8 ++++---- discount.changes | 10 ++++++++++ discount.spec | 11 ++++++++--- 5 files changed, 25 insertions(+), 10 deletions(-) delete mode 100644 discount-2.2.7b.tar.bz2 create mode 100644 discount-3.0.0a.tar.gz diff --git a/discount-2.2.7b.tar.bz2 b/discount-2.2.7b.tar.bz2 deleted file mode 100644 index d39d866..0000000 --- a/discount-2.2.7b.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9368cc2063831635f9e790d0c4c338c2b4b72658cdc244323241bfcddf6ffd5 -size 102685 diff --git a/discount-3.0.0a.tar.gz b/discount-3.0.0a.tar.gz new file mode 100644 index 0000000..0832b0f --- /dev/null +++ b/discount-3.0.0a.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a20af1ee09d2369543a421ba65e6fc1fd482ad3a5b1828132441f2c8dd98afc +size 140250 diff --git a/discount-disable_ldconfig.patch b/discount-disable_ldconfig.patch index d8f105d..314be6c 100644 --- a/discount-disable_ldconfig.patch +++ b/discount-disable_ldconfig.patch @@ -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 diff --git a/discount.changes b/discount.changes index 537e1bd..6ea0590 100644 --- a/discount.changes +++ b/discount.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Mar 23 16:24:30 UTC 2023 - Andrea Manzini + +- 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 diff --git a/discount.spec b/discount.spec index 02e3252..6d04253 100644 --- a/discount.spec +++ b/discount.spec @@ -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 Gruber’s 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