8
0

5 Commits

Author SHA256 Message Date
014882a6f1 Add Gitea build results 2025-08-12 18:12:33 +02:00
601407ab2d Accepting request 1282399 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1282399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-CommonMark?expand=0&rev=3
2025-06-03 17:11:22 +00:00
1bba839f00 Accepting request 1281137 from home:pgajdos
- build with -std=gnu11 to fix build with gcc15
- modified sources
  % cpanspec.yml

OBS-URL: https://build.opensuse.org/request/show/1281137
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-CommonMark?expand=0&rev=6
2025-06-03 15:06:34 +00:00
6b024533b5 Accepting request 1247052 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1247052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-CommonMark?expand=0&rev=2
2025-02-19 15:03:22 +00:00
572185dd2f Accepting request 1245154 from devel:languages:perl:autoupdate
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details
- 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!

OBS-URL: https://build.opensuse.org/request/show/1245154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-CommonMark?expand=0&rev=4
2025-02-19 12:14:25 +00:00
6 changed files with 70 additions and 23 deletions

View File

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

View File

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

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-CommonMark/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-CommonMark)

View File

@@ -9,8 +9,9 @@
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
preamble: |-
BuildRequires: cmark-devel >= 0.28.3
Requires: cmark >= 0.28.3
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
@@ -20,8 +21,10 @@
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
custom_build: |-
# https://github.com/Perl/perl5/issues/23192
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
%make_build
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -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

View File

@@ -1,7 +1,7 @@
#
# 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
# 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
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
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NW/NWELLNHOF/%{cpan_name}-%{version}.tar.gz
Summary: Interface to the CommonMark C library
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NW/NWELLNHOF/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
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
Requires: cmark >= 0.28.3
%{perl_requires}
# MANUAL END
%description
This module is a wrapper around the official CommonMark C library
_libcmark_. It closely follows the original API.
This module is a wrapper around the official CommonMark C library at
https://github.com/commonmark/cmark/. It closely follows the original API.
The main module provides some entry points to parse documents and
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.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
# https://github.com/Perl/perl5/issues/23192
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -std=gnu11"
%make_build
%check
make test
@@ -60,7 +67,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes
%license LICENSE