forked from pool/perl-Data-Printer
Accepting request 310900 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/310900 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Printer?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
021bd06a69
commit
088cc19215
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Data-Printer
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,14 +17,15 @@
|
||||
|
||||
|
||||
Name: perl-Data-Printer
|
||||
Version: 0.35
|
||||
Version: 0.36
|
||||
Release: 0
|
||||
%define cpan_name Data-Printer
|
||||
Summary: Colored pretty-print of Perl data structures and objects
|
||||
Summary: Colored Pretty-Print of Perl Data Structures and Objects
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Data-Printer/
|
||||
Source: http://www.cpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@@ -36,14 +37,6 @@ BuildRequires: perl(Sort::Naturally)
|
||||
BuildRequires: perl(Term::ANSIColor) >= 3
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(version) >= 0.77
|
||||
#BuildRequires: perl(Capture::Tiny)
|
||||
#BuildRequires: perl(Data::Printer)
|
||||
#BuildRequires: perl(Data::Printer::Filter)
|
||||
#BuildRequires: perl(DDP)
|
||||
#BuildRequires: perl(File::HomeDir::Test)
|
||||
#BuildRequires: perl(mro)
|
||||
#BuildRequires: perl(MRO::Compat)
|
||||
#BuildRequires: perl(Win32::Console::ANSI)
|
||||
Requires: perl(Clone::PP)
|
||||
Requires: perl(File::HomeDir) >= 0.91
|
||||
Requires: perl(Package::Stash) >= 0.3
|
||||
@@ -54,18 +47,10 @@ Requires: perl(version) >= 0.77
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Unlike the standard Data::Dumper package and others that seek to improve on it,
|
||||
Data::Printer focuses exclusively on printing data structures: it does not
|
||||
serialize them.
|
||||
|
||||
Data::Printer is fully customizable. If you want to change how things are
|
||||
displayed, or even its standard behavior. Take a look at the available
|
||||
customizations. Once you figure out your own preferences, create a
|
||||
configuration file for yourself and Data::Printer will automatically use it!
|
||||
colored pretty-print of Perl data structures and objects
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@@ -81,6 +66,6 @@ find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README
|
||||
%doc Changes examples README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user