%define modname Data-Dump Summary: Pretty printing of data structures Name: perl-%{modname} Version: 1.25 Release: 1 License: Artistic/GPLv2 Group: Development/Perl Url: https://metacpan.org/pod/Data::Dump Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/Data-Dump-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl(Test::More) BuildRequires: perl(Test) BuildRequires: perl-devel %description This module provides a single function called dump() that takes a list of values as its argument and produces a string as its result. The string contains Perl code that, when evaled, produces a deep copy of the original arguments. The string is formatted for easy reading. %prep %autosetup -p1 -n %{modname}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check %make test %install %make_install %files %doc Changes %{perl_vendorlib}/Data %{_mandir}/man3/*