- Unconditionally BR: perl(Test::CPAN::Meta).
- Adjust minimum perl version in META.yml (Add Class-Inspector-1.23.diff).
This commit is contained in:
parent
1a40030501
commit
903d57f7ed
10
Class-Inspector-1.23.diff
Normal file
10
Class-Inspector-1.23.diff
Normal file
@ -0,0 +1,10 @@
|
||||
diff -Naur Class-Inspector-1.23.orig/META.yml Class-Inspector-1.23/META.yml
|
||||
--- Class-Inspector-1.23.orig/META.yml 2008-06-02 04:36:31.000000000 +0200
|
||||
+++ Class-Inspector-1.23/META.yml 2009-02-27 08:54:03.000000000 +0100
|
||||
@@ -18,5 +18,5 @@
|
||||
- t
|
||||
requires:
|
||||
File::Spec: 0.80
|
||||
- perl: 5.005
|
||||
+ perl: 5.00503
|
||||
version: 1.23
|
||||
@ -1,12 +1,14 @@
|
||||
Name: perl-Class-Inspector
|
||||
Version: 1.23
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Get information about a class and its structure
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Class-Inspector/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# META.yml has wrong minimum perl version
|
||||
Patch0: Class-Inspector-1.23.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
@ -16,11 +18,7 @@ BuildRequires: perl(Test::More)
|
||||
# For better test coverage
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::MinimumVersion) >= 0.007
|
||||
|
||||
%if 0%{?fedora} >= 10
|
||||
# FIXME: Missing in FC < 10
|
||||
BuildRequires: perl(Test::CPAN::Meta) >= 0.07
|
||||
%endif
|
||||
|
||||
%description
|
||||
Class::Inspector allows you to get information about a loaded class.
|
||||
@ -31,6 +29,7 @@ provide an easier, more friendly interface to this information.
|
||||
|
||||
%prep
|
||||
%setup -q -n Class-Inspector-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@ -56,6 +55,10 @@ make test AUTOMATED_TESTING=1
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.23-3
|
||||
- Unconditionally BR: perl(Test::CPAN::Meta).
|
||||
- Adjust minimum perl version in META.yml (Add Class-Inspector-1.23.diff).
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user