|
|
@ -7,12 +7,14 @@ License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/UNIVERSAL-can/
|
|
|
|
URL: http://search.cpan.org/dist/UNIVERSAL-can/
|
|
|
|
Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Test::Simple) >= 0.60
|
|
|
|
BuildRequires: perl(Test::Simple) >= 0.60
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The UNIVERSAL class provides a few default methods so that all objects
|
|
|
|
The UNIVERSAL class provides a few default methods so that all objects
|
|
|
|
can use them. Object orientation allows programmers to override these
|
|
|
|
can use them. Object orientation allows programmers to override these
|
|
|
@ -33,7 +35,6 @@ make %{?_smp_mflags}
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|