|
|
|
@ -1,31 +1,38 @@
|
|
|
|
|
Name: perl-Spiffy
|
|
|
|
|
Version: 0.31
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.32
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Framework for doing object oriented (OO) programming in Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Spiffy/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(Filter::Util::Call)
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(YAML)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
# Release Tests:
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.41
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(Filter::Util::Call)
|
|
|
|
|
Requires: perl(overload)
|
|
|
|
|
Requires: perl(Scalar::Util)
|
|
|
|
|
Requires: perl(warnings)
|
|
|
|
|
Requires: perl(YAML)
|
|
|
|
|
|
|
|
|
|
# Filter bogus provide of perl(DB)
|
|
|
|
@ -42,7 +49,7 @@ the nits and warts of traditional Perl OO, in a clean, straightforward and
|
|
|
|
|
%setup -q -n Spiffy-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -51,14 +58,21 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
make test RELEASE_TESTING=1
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
|
%{perl_vendorlib}/Spiffy*
|
|
|
|
|
%{perl_vendorlib}/Spiffy.pm
|
|
|
|
|
%doc %{perl_vendorlib}/Spiffy.pod
|
|
|
|
|
%{perl_vendorlib}/Spiffy/
|
|
|
|
|
%{_mandir}/man3/Spiffy.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jun 18 2014 Paul Howarth <paul@city-fan.org> - 0.32-1
|
|
|
|
|
- Update to 0.32
|
|
|
|
|
- Release with Zilla::Dist
|
|
|
|
|
- Declare Spiffy.pod as %%doc
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|