[packages/perl-YAML-PP] - updated URLs and BRs

qboosh qboosh at pld-linux.org
Sun Jun 14 14:18:37 CEST 2026


commit d2d8d546cfb3d420c9ce4fc64c4780f7d4286722
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 14 14:18:55 2026 +0200

    - updated URLs and BRs

 perl-YAML-PP.spec | 49 +++++++++++++++++++++++++++++++++++--------------
 1 file changed, 35 insertions(+), 14 deletions(-)
---
diff --git a/perl-YAML-PP.spec b/perl-YAML-PP.spec
index c57a18f..0406291 100644
--- a/perl-YAML-PP.spec
+++ b/perl-YAML-PP.spec
@@ -1,46 +1,67 @@
 #
 # Conditional build:
-%bcond_without	tests		# do not perform "make test"
+%bcond_without	tests		# unit tests
 #
 %define	pdir	YAML
 %define	pnam	PP
-Summary:	YAML::PP - YAML 1.2 processor
+Summary:	YAML::PP - modular YAML 1.2 processor
+Summary(pl.UTF-8):	YAML::PP - modularny procesor YAML-a 1.2
 Name:		perl-YAML-PP
 Version:	0.40.0
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/YAML/%{pdir}-%{pnam}-v%{version}.tar.gz
+Source0:	https://www.cpan.org/modules/by-module/YAML/TINITA/%{pdir}-%{pnam}-v%{version}.tar.gz
 # Source0-md5:	40f281d64cddce19195e4d2bc8d02521
-URL:		http://search.cpan.org/dist/YAML-PP/
+URL:		https://metacpan.org/dist/YAML-PP
+BuildRequires:	perl-ExtUtils-MakeMaker
 BuildRequires:	perl-devel >= 1:5.8.1
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
+BuildRequires:	perl-Encode
+BuildRequires:	perl-MIME-Base64
+BuildRequires:	perl-Module-Load
+BuildRequires:	perl-Scalar-List-Utils >= 1.07
+BuildRequires:	perl-Test-Simple >= 0.98
+BuildRequires:	perl-Test-Warn
 %endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# Aliases provided by perl main package.
+# Aliases provided by perl-modules
 %define		_noautoreq_perl		Tie::StdArray Tie::StdHash
 
 %description
 YAML::PP is a modular YAML processor.
 
-It aims to support YAML 1.2 and YAML 1.1. See https://yaml.org/.
-Some (rare) syntax elements are not yet supported
+It aims to support YAML 1.2 and YAML 1.1. See <https://yaml.org/>.
+Some (rare) syntax elements are not yet supported.
 
 WARNING: Most of the inner API is not stable yet.
 
+%description -l pl.UTF-8
+YAML::PP to modularny procesor YAML-a.
+
+Celem jest obsługa standardów YAML 1.2 i YAML 1.1, więcej na
+<https://yaml.org/>. Niektóre (rzadkie) elementy składni nie są
+jeszcze obsługiwane.
+
+UWAGA: większość wewnętrznego API nie jest jeszcze stabilna.
+
 %prep
 %setup -q -n %{pdir}-%{pnam}-v%{version}
 
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
+
 %{__make}
 
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -53,18 +74,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README.md
-%dir %{perl_vendorlib}/YAML/PP
-%dir %{perl_vendorlib}/YAML/PP/Schema
-%dir %{perl_vendorlib}/YAML/PP/Schema/Tie
-%dir %{perl_vendorlib}/YAML/PP/Type
-%dir %{perl_vendorlib}/YAML/PP/Writer
+%doc Changes README.md SECURITY.md
 %attr(755,root,root) %{_bindir}/yamlpp-events
 %attr(755,root,root) %{_bindir}/yamlpp-highlight
 %attr(755,root,root) %{_bindir}/yamlpp-load
 %attr(755,root,root) %{_bindir}/yamlpp-load-dump
 %attr(755,root,root) %{_bindir}/yamlpp-parse-emit
 %{perl_vendorlib}/YAML/PP.pm
+%dir %{perl_vendorlib}/YAML/PP
 %{perl_vendorlib}/YAML/PP/Common.pm
 %{perl_vendorlib}/YAML/PP/Constructor.pm
 %{perl_vendorlib}/YAML/PP/Dumper.pm
@@ -80,6 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/YAML/PP/Render.pm
 %{perl_vendorlib}/YAML/PP/Representer.pm
 %{perl_vendorlib}/YAML/PP/Schema.pm
+%dir %{perl_vendorlib}/YAML/PP/Schema
 %{perl_vendorlib}/YAML/PP/Schema/Binary.pm
 %{perl_vendorlib}/YAML/PP/Schema/Catchall.pm
 %{perl_vendorlib}/YAML/PP/Schema/Core.pm
@@ -88,10 +106,13 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/YAML/PP/Schema/JSON.pm
 %{perl_vendorlib}/YAML/PP/Schema/Merge.pm
 %{perl_vendorlib}/YAML/PP/Schema/Perl.pm
+%dir %{perl_vendorlib}/YAML/PP/Schema/Tie
 %{perl_vendorlib}/YAML/PP/Schema/Tie/IxHash.pm
 %{perl_vendorlib}/YAML/PP/Schema/YAML1_1.pm
+%dir %{perl_vendorlib}/YAML/PP/Type
 %{perl_vendorlib}/YAML/PP/Type/MergeKey.pm
 %{perl_vendorlib}/YAML/PP/Writer.pm
+%dir %{perl_vendorlib}/YAML/PP/Writer
 %{perl_vendorlib}/YAML/PP/Writer/File.pm
 %{_mandir}/man3/YAML::PP.3pm*
 %{_mandir}/man3/YAML::PP::Common.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-YAML-PP.git/commitdiff/d2d8d546cfb3d420c9ce4fc64c4780f7d4286722



More information about the pld-cvs-commit mailing list