Accepting request 296412 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/296412
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-MinimumVersion?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2015-04-15 09:17:07 +00:00
committed by Git OBS Bridge
parent b885d7ddfc
commit 4808caa289
5 changed files with 64 additions and 33 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Perl-MinimumVersion (Version 1.26)
# spec file for package perl-Perl-MinimumVersion
#
# Copyright (c) 2010 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
@@ -15,36 +15,39 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Perl-MinimumVersion
Version: 1.26
Release: 1
License: GPL+ or Artistic
Version: 1.38
Release: 0
%define cpan_name Perl-MinimumVersion
Summary: Find a minimum required version of perl for Perl code
Url: http://search.cpan.org/dist/Perl-MinimumVersion/
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/A/AD/ADAMK/Perl-MinimumVersion-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(File::Find::Rule) >= 0.32
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(List::Util) >= 1.18
BuildRequires: perl(Params::Util) >= 0.25
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
BuildRequires: perl(PPI) >= 1.205
BuildRequires: perl(Test::Script) >= 1.03
BuildRequires: perl(version) >= 0.76
Url: http://search.cpan.org/dist/Perl-MinimumVersion/
Source: http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(File::Find::Rule) >= 0.32
Requires: perl(File::Find::Rule::Perl) >= 1.04
Requires: perl(List::Util) >= 1.18
BuildRequires: perl(File::Find::Rule)
BuildRequires: perl(File::Find::Rule::Perl)
BuildRequires: perl(List::Util) >= 1.20
BuildRequires: perl(PPI) >= 1.215
BuildRequires: perl(PPI::Util)
BuildRequires: perl(PPIx::Regexp) >= 0.033
BuildRequires: perl(Params::Util) >= 0.25
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
BuildRequires: perl(Test::Script) >= 1.03
BuildRequires: perl(version) >= 0.76
Requires: perl(File::Find::Rule)
Requires: perl(File::Find::Rule::Perl)
Requires: perl(List::Util) >= 1.20
Requires: perl(PPI) >= 1.215
Requires: perl(PPI::Util)
Requires: perl(PPIx::Regexp) >= 0.033
Requires: perl(Params::Util) >= 0.25
Requires: perl(Perl::Critic::Utils) >= 1.104
Requires: perl(PPI) >= 1.205
Requires: perl(version) >= 0.76
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
@@ -60,6 +63,13 @@ Future plans are to also add support for tracing module dependencies.
Using 'Perl::MinimumVersion' is dead simple, the synopsis pretty much
covers it.
The distribution comes with a script called the perlver manpage, which is
the easiest way to run 'Perl::MinimumVersion' on your code:
% perlver lib/Foo/Bar.pm
See the perlver for more details.
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -75,11 +85,8 @@ covers it.
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog