1
0
Files
perl-YAML-LibYAML/perl-YAML-LibYAML.spec
Stephan Kulow 64932236cf Accepting request 799829 from devel:languages:perl:autoupdate
updated to 0.82
   see /usr/share/doc/packages/perl-YAML-LibYAML/Changes
  0.82 Sat 02 May 2020 08:39:03 PM CEST
   - Updated libyaml sources to 0.2.4. Changes affecting YAML::XS are
   - Output '...' at the stream end after a block scalar with trailing empty
     lines
   - Accept '%YAML 1.2' directives (they are ignored and do not change
     behaviour though)

OBS-URL: https://build.opensuse.org/request/show/799829
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-YAML-LibYAML?expand=0&rev=32
2020-05-04 05:13:51 +00:00

60 lines
1.8 KiB
RPMSpec

#
# spec file for package perl-YAML-LibYAML
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-YAML-LibYAML
Version: 0.82
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
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
%description
Perl YAML Serialization using XS and libyaml
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README
%license LICENSE
%changelog