1
0

Accepting request 725440 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/725440
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-YAML-LibYAML?expand=0&rev=27
This commit is contained in:
Tina Müller 2019-08-28 09:54:39 +00:00 committed by Git OBS Bridge
parent f2b690c84f
commit a9cec83e5e
5 changed files with 48 additions and 14 deletions

View File

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

3
YAML-LibYAML-0.80.tar.gz Normal file
View File

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

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#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
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Aug 23 05:35:48 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.80
see /usr/share/doc/packages/perl-YAML-LibYAML/Changes
0.80 Thu 22 Aug 2019 01:17:13 PM CEST
- Fix memory leak when loading invalid YAML (PR#93 tinita)
-------------------------------------------------------------------
Mon Jun 17 14:29:58 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@ -16,18 +16,20 @@
#
%define cpan_name YAML-LibYAML
Name: perl-YAML-LibYAML
Version: 0.79
Version: 0.80
Release: 0
%define cpan_name YAML-LibYAML
Summary: Perl YAML Serialization using XS and libyaml
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/T/TI/TINITA/%{cpan_name}-%{version}.tar.gz
Patch0: %{name}-no-plan.patch
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
%description
@ -35,19 +37,14 @@ Perl YAML Serialization using XS and libyaml
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
# This patch is only necessary for systems without Test::More >= 0.87_01
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%patch0 -p1
%endif
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make %{?_smp_mflags} test
make test
%install
%perl_make_install
@ -56,7 +53,7 @@ make %{?_smp_mflags} test
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README
%license LICENSE
%doc Changes README
%changelog