forked from pool/perl-Data-Printer
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
1a50951ffa | |||
0c9b279571 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 21:33:16 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 03:06:31 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Data-Printer
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,18 +18,51 @@
|
||||
|
||||
%define cpan_name Data-Printer
|
||||
Name: perl-Data-Printer
|
||||
Version: 1.002001
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
# 1.002001 -> normalize -> 1.2.1
|
||||
%define cpan_version 1.002001
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Colored & full-featured pretty print of Perl data structures and objects
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(version) >= 0.77
|
||||
Requires: perl(version) >= 0.77
|
||||
Provides: perl(DDP) = %{version}
|
||||
Provides: perl(Data::Printer) = %{version}
|
||||
Provides: perl(Data::Printer::Common)
|
||||
Provides: perl(Data::Printer::Config)
|
||||
Provides: perl(Data::Printer::Filter)
|
||||
Provides: perl(Data::Printer::Filter::ARRAY)
|
||||
Provides: perl(Data::Printer::Filter::CODE)
|
||||
Provides: perl(Data::Printer::Filter::ContentType)
|
||||
Provides: perl(Data::Printer::Filter::DB)
|
||||
Provides: perl(Data::Printer::Filter::DateTime)
|
||||
Provides: perl(Data::Printer::Filter::Digest)
|
||||
Provides: perl(Data::Printer::Filter::FORMAT)
|
||||
Provides: perl(Data::Printer::Filter::GLOB)
|
||||
Provides: perl(Data::Printer::Filter::GenericClass)
|
||||
Provides: perl(Data::Printer::Filter::HASH)
|
||||
Provides: perl(Data::Printer::Filter::OBJECT)
|
||||
Provides: perl(Data::Printer::Filter::REF)
|
||||
Provides: perl(Data::Printer::Filter::Regexp)
|
||||
Provides: perl(Data::Printer::Filter::SCALAR)
|
||||
Provides: perl(Data::Printer::Filter::VSTRING)
|
||||
Provides: perl(Data::Printer::Filter::Web)
|
||||
Provides: perl(Data::Printer::Object)
|
||||
Provides: perl(Data::Printer::Profile)
|
||||
Provides: perl(Data::Printer::Profile::Dumper)
|
||||
Provides: perl(Data::Printer::Profile::JSON)
|
||||
Provides: perl(Data::Printer::Theme)
|
||||
Provides: perl(Data::Printer::Theme::Classic)
|
||||
Provides: perl(Data::Printer::Theme::Material)
|
||||
Provides: perl(Data::Printer::Theme::Monokai)
|
||||
Provides: perl(Data::Printer::Theme::Solarized)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -53,7 +86,7 @@ Whenever you type 'use Data::Printer' or 'use DDP', we export two functions
|
||||
to your namespace:
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
|
Reference in New Issue
Block a user