Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
014882a6f1 | |||
601407ab2d | |||
1bba839f00 | |||
6b024533b5 | |||
572185dd2f |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a501b4c3ef6ca89f8703f9ed0b2dc0da878281f2b1277a7ec92902e088c2eadd
|
|
||||||
size 26335
|
|
3
CommonMark-0.310100.tar.gz
Normal file
3
CommonMark-0.310100.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:04f361ee304256c41547d222b9f3b590fa22f0cdbb343f61632261a797816171
|
||||||
|
size 26926
|
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
11
cpanspec.yml
11
cpanspec.yml
@@ -9,8 +9,9 @@
|
|||||||
#patches:
|
#patches:
|
||||||
# foo.patch: -p1
|
# foo.patch: -p1
|
||||||
# bar.patch:
|
# bar.patch:
|
||||||
#preamble: |-
|
preamble: |-
|
||||||
# BuildRequires: gcc-c++
|
BuildRequires: cmark-devel >= 0.28.3
|
||||||
|
Requires: cmark >= 0.28.3
|
||||||
#post_prep: |-
|
#post_prep: |-
|
||||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
@@ -20,8 +21,10 @@
|
|||||||
# sed on %{name}.files
|
# sed on %{name}.files
|
||||||
#license: SUSE-NonFree
|
#license: SUSE-NonFree
|
||||||
#skip_noarch: 1
|
#skip_noarch: 1
|
||||||
#custom_build: |-
|
custom_build: |-
|
||||||
#./Build build flags=%{?_smp_mflags} --myflag
|
# https://github.com/Perl/perl5/issues/23192
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
|
||||||
|
%make_build
|
||||||
#custom_test: |-
|
#custom_test: |-
|
||||||
#startserver && make test
|
#startserver && make test
|
||||||
#ignore_requires: Bizarre::Module
|
#ignore_requires: Bizarre::Module
|
||||||
|
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 29 11:27:33 UTC 2025 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- build with -std=gnu11 to fix build with gcc15
|
||||||
|
- modified sources
|
||||||
|
% cpanspec.yml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 11 18:28:54 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 14 05:29:32 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.310100
|
||||||
|
see /usr/share/doc/packages/perl-CommonMark/Changes
|
||||||
|
|
||||||
|
0.310100 2024-08-13
|
||||||
|
- Recommend and test with libcmark 0.31.1
|
||||||
|
- Fix build with libcmark 0.25
|
||||||
|
- Expand and improve the documentation (David E. Wheeler)
|
||||||
|
- Move from Travis/Appveyor to Github CI. Thanks to David E. Wheeler
|
||||||
|
for the initial commit!
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 25 11:30:00 CET 2019 - sriedel@suse.de
|
Fri Jul 25 11:30:00 CET 2019 - sriedel@suse.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-CommonMark
|
# spec file for package perl-CommonMark
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,27 +16,33 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-CommonMark
|
|
||||||
Version: 0.290000
|
|
||||||
Release: 4.1
|
|
||||||
%define cpan_name CommonMark
|
%define cpan_name CommonMark
|
||||||
Summary: Interface to the CommonMark C library
|
Name: perl-CommonMark
|
||||||
|
Version: 0.310.100
|
||||||
|
Release: 0
|
||||||
|
# 0.310100 -> normalize -> 0.310.100
|
||||||
|
%define cpan_version 0.310100
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: Interface to the CommonMark C library
|
||||||
Url: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/N/NW/NWELLNHOF/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/N/NW/NWELLNHOF/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source100: README.md
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Devel::CheckLib)
|
BuildRequires: perl(Devel::CheckLib)
|
||||||
|
Provides: perl(CommonMark) = %{version}
|
||||||
|
Provides: perl(CommonMark::Node)
|
||||||
|
%undefine __perllib_provides
|
||||||
|
%{perl_requires}
|
||||||
|
# MANUAL BEGIN
|
||||||
BuildRequires: cmark-devel >= 0.28.3
|
BuildRequires: cmark-devel >= 0.28.3
|
||||||
Requires: cmark >= 0.28.3
|
Requires: cmark >= 0.28.3
|
||||||
%{perl_requires}
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module is a wrapper around the official CommonMark C library
|
This module is a wrapper around the official CommonMark C library at
|
||||||
_libcmark_. It closely follows the original API.
|
https://github.com/commonmark/cmark/. It closely follows the original API.
|
||||||
|
|
||||||
The main module provides some entry points to parse documents and
|
The main module provides some entry points to parse documents and
|
||||||
convenience functions for node creation. The bulk of features is available
|
convenience functions for node creation. The bulk of features is available
|
||||||
@@ -45,11 +51,12 @@ CommonMark::Iterator is a useful class to walk through the nodes in a tree.
|
|||||||
CommonMark::Parser provides a push parser interface.
|
CommonMark::Parser provides a push parser interface.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
# https://github.com/Perl/perl5/issues/23192
|
||||||
make %{?_smp_mflags}
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
|
||||||
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -60,7 +67,6 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes
|
%doc Changes
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user