From cedf5fd8bfd3ca7f543dbe11f3108abdc3dfafe63079d3aa1c2021a430d75bec Mon Sep 17 00:00:00 2001 From: "Tina Mueller (cpanmirror)" Date: Thu, 9 Oct 2025 20:50:12 +0000 Subject: [PATCH] Automatic update to v0.180.0 (0.18) --- Text-Markdown-Discount-0.16.tar.gz | 3 --- Text-Markdown-Discount-0.18.tar.gz | 3 +++ perl-Text-Markdown-Discount.changes | 14 ++++++++++++++ perl-Text-Markdown-Discount.spec | 26 ++++++++++++++------------ 4 files changed, 31 insertions(+), 15 deletions(-) delete mode 100644 Text-Markdown-Discount-0.16.tar.gz create mode 100644 Text-Markdown-Discount-0.18.tar.gz diff --git a/Text-Markdown-Discount-0.16.tar.gz b/Text-Markdown-Discount-0.16.tar.gz deleted file mode 100644 index 0b434d4..0000000 --- a/Text-Markdown-Discount-0.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:adcbc9d3f986d1344648cba6476634eb8621c773941f7f3d10860f96d8089233 -size 214480 diff --git a/Text-Markdown-Discount-0.18.tar.gz b/Text-Markdown-Discount-0.18.tar.gz new file mode 100644 index 0000000..681db08 --- /dev/null +++ b/Text-Markdown-Discount-0.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c60a611c6554609d765c6a665d4089b0e2636780d614779ba6c9da64d6bdd827 +size 269175 diff --git a/perl-Text-Markdown-Discount.changes b/perl-Text-Markdown-Discount.changes index fcbc1b8..05fc5a8 100644 --- a/perl-Text-Markdown-Discount.changes +++ b/perl-Text-Markdown-Discount.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Oct 9 20:50:12 UTC 2025 - Tina Müller + +- updated to 0.180.0 (0.18) + see /usr/share/doc/packages/perl-Text-Markdown-Discount/Changes + + 0.18 2025-01-26T05:05:12Z + - maintenace release (just update toolchains) + + 0.17 Tue Dec 31 06:24:03 UTC 2024 + - update discount to v2.2.7d + - add latest MKD_* flags + - enable fenced code blocks by default again + ------------------------------------------------------------------- Tue Nov 15 03:08:50 UTC 2022 - Tina Müller diff --git a/perl-Text-Markdown-Discount.spec b/perl-Text-Markdown-Discount.spec index ecff385..3be5bb8 100644 --- a/perl-Text-Markdown-Discount.spec +++ b/perl-Text-Markdown-Discount.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Text-Markdown-Discount # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,21 @@ %define cpan_name Text-Markdown-Discount Name: perl-Text-Markdown-Discount -Version: 0.160.0 +Version: 0.180.0 Release: 0 -# 0.16 -> normalize -> 0.160.0 -%define cpan_version 0.16 +# 0.18 -> normalize -> 0.180.0 +%define cpan_version 0.18 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Fast function for converting markdown to HTML (requires C compiler) URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/S/SE/SEKIMURA/%{cpan_name}-%{cpan_version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/S/SO/SONGMU/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md Patch0: use-system-markdown.patch BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(Module::Build) >= 0.400.500 Provides: perl(Text::Markdown::Discount) = %{version} %undefine __perllib_provides %{perl_requires} @@ -54,23 +56,23 @@ The interface of the 'markdown()' function in this module is not compatible with the 'markdown()' function in Text::Markdown. %prep -%autosetup -n %{cpan_name}-%{cpan_version} -p1 +%autosetup -n %{cpan_name}-%{cpan_version} -p1 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%make_build +perl Build.PL --installdirs=vendor optimize="%{optflags}" +./Build build --flags=%{?_smp_mflags} %check -make test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files -%doc Changes README +%doc Changes README.md +%license LICENSE %changelog