Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| cedf5fd8bf |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:adcbc9d3f986d1344648cba6476634eb8621c773941f7f3d10860f96d8089233
|
||||
size 214480
|
||||
BIN
Text-Markdown-Discount-0.18.tar.gz
(Stored with Git LFS)
Normal file
BIN
Text-Markdown-Discount-0.18.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 9 20:50:12 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- 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 <timueller+perl@suse.de>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user