[packages/perl-Data-Printer] - updated to 1.000004
qboosh
qboosh at pld-linux.org
Thu Jun 2 16:44:22 CEST 2022
commit 24912a6d35756c2ea017dff384baac637b42249d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 2 16:45:31 2022 +0200
- updated to 1.000004
perl-Data-Printer.spec | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 deletions(-)
---
diff --git a/perl-Data-Printer.spec b/perl-Data-Printer.spec
index f2151d6..68ab7a5 100644
--- a/perl-Data-Printer.spec
+++ b/perl-Data-Printer.spec
@@ -1,34 +1,40 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir Data
%define pnam Printer
Summary: Data::Printer - colored pretty-print of Perl data structures and objects
-#Summary(pl.UTF-8):
+Summary(pl.UTF-8): Data::Printer - kolorowe, ładne wypisywanie perlowych struktur danych i obiektów
Name: perl-Data-Printer
-Version: 0.40
+Version: 1.000004
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-authors/id/G/GA/GARU/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: a8d976880254233775bba35b2989b61c
-URL: http://search.cpan.org/dist/Data-Printer/
+Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 34e52ee70a7a19779251062251f6f422
+URL: https://metacpan.org/dist/Data-Printer
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
-BuildRequires: perl(Clone::PP)
-BuildRequires: perl(File::HomeDir) >= 0.91
-BuildRequires: perl(Sort::Naturally)
BuildRequires: perl-Package-Stash >= 0.3
+BuildRequires: perl-Scalar-List-Utils
+BuildRequires: perl-Sort-Key
+BuildRequires: perl-Test-Simple
+BuildRequires: perl-version >= 0.77
%endif
+Suggests: perl-Sort-Key
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Colored pretty-print of Perl data structures and objects.
+%description -l pl.UTF-8
+Kolorowe, ładne wypisywanie perlowych struktur danych i obiektów.
+
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -55,7 +61,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changes README.md
%{perl_vendorlib}/DDP.pm
-%{perl_vendorlib}/Data/*.pm
+%{perl_vendorlib}/Data/Printer.pm
%{perl_vendorlib}/Data/Printer
-%{_mandir}/man3/*
+%{_mandir}/man3/DDP.3pm*
+%{_mandir}/man3/Data::Printer*.3pm*
%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Data-Printer.git/commitdiff/24912a6d35756c2ea017dff384baac637b42249d
More information about the pld-cvs-commit
mailing list