|
|
|
@ -1,29 +1,48 @@
|
|
|
|
|
Name: perl-Class-Accessor-Grouped
|
|
|
|
|
Version: 0.10010
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.10012
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Build groups of accessors
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Class-Accessor-Grouped/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/Class-Accessor-Grouped-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.62
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(CPAN)
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MM_Unix)
|
|
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Runtime
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Class::XSAccessor) >= 1.13
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(Module::Runtime)
|
|
|
|
|
BuildRequires: perl(mro)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
# Tests only
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Class::XSAccessor)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Devel::Hide)
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
|
BuildRequires: perl(File::Spec::Unix)
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Package::Stash)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(Module::Runtime) >= 0.012
|
|
|
|
|
BuildRequires: perl(Sub::Name) >= 0.05
|
|
|
|
|
BuildRequires: perl(Sub::Name)
|
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.31
|
|
|
|
|
BuildRequires: perl(CPAN)
|
|
|
|
|
|
|
|
|
|
Requires: perl(Class::XSAccessor) >= 1.13
|
|
|
|
|
Requires: perl(Class::Inspector)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Requires: perl(Class::XSAccessor) >= 1.19
|
|
|
|
|
Requires: perl(Sub::Name) >= 0.05
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
@ -36,25 +55,27 @@ getters and setters.
|
|
|
|
|
%setup -q -n Class-Accessor-Grouped-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README t/
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 12 2014 Petr Šabata <contyk@redhat.com> - 0.10012-1
|
|
|
|
|
- 0.10012 bump
|
|
|
|
|
- Test suite enhancements and 5.10 compatibility fixes
|
|
|
|
|
|
|
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.10010-3
|
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
|
|