|
Chris Weyl |
07de65b |
Name: perl-Class-Data-Accessor
|
|
Chris Weyl |
d301042 |
Version: 0.04004
|
|
![](https://seccdn.libravatar.org/avatar/c4dec74d923a165893cec932300d9c622cd1bc808dcfb5b14fe1c9d65afbcefc?s=16&d=retro) |
b45ace2 |
Release: 5%{?dist}
|
|
Chris Weyl |
07de65b |
Summary: Inheritable, overridable class and instance data accessor creation
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
21ae7f1 |
License: GPL+ or Artistic
|
|
Chris Weyl |
07de65b |
Group: Development/Libraries
|
|
Chris Weyl |
07de65b |
URL: http://search.cpan.org/dist/Class-Data-Accessor/
|
|
Chris Weyl |
07de65b |
Source0: http://www.cpan.org/authors/id/C/CL/CLACO/Class-Data-Accessor-%{version}.tar.gz
|
|
Chris Weyl |
07de65b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Chris Weyl |
07de65b |
BuildArch: noarch
|
|
Chris Weyl |
d8c1d26 |
BuildRequires: perl >= 1:5.6.1
|
|
Chris Weyl |
07de65b |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
d8c1d26 |
# core
|
|
Chris Weyl |
d8c1d26 |
#BuildRequires: perl(Carp)
|
|
Chris Weyl |
d8c1d26 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
Chris Weyl |
d8c1d26 |
BuildRequires: perl(Test::More)
|
|
Chris Weyl |
d8c1d26 |
# cpan
|
|
Chris Weyl |
d8c1d26 |
# test -- note, following three only needed when author tests are enabled
|
|
Chris Weyl |
d8c1d26 |
#BuildRequires: perl(Test::Pod)
|
|
Chris Weyl |
d8c1d26 |
#BuildRequires: perl(Test::Pod::Coverage)
|
|
Chris Weyl |
d8c1d26 |
#BuildRequires: perl(Test::Spelling)
|
|
Chris Weyl |
d8c1d26 |
|
|
Chris Weyl |
d8c1d26 |
|
|
Chris Weyl |
d8c1d26 |
|
|
Chris Weyl |
07de65b |
%description
|
|
Chris Weyl |
07de65b |
Class::Data::Accessor is the marriage of Class::Accessor and
|
|
Chris Weyl |
07de65b |
Class::Data::Inheritable into a single module. It is used for creating
|
|
Chris Weyl |
07de65b |
accessors to class data that overridable in subclasses as well as in class
|
|
Chris Weyl |
07de65b |
instances.
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
07de65b |
%prep
|
|
Chris Weyl |
07de65b |
%setup -q -n Class-Data-Accessor-%{version}
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
d8c1d26 |
sed -i 's/\r//' t/*.t Changes
|
|
Chris Weyl |
d8c1d26 |
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
|
|
Chris Weyl |
d8c1d26 |
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
cat << \EOF > %{name}-req
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
#!/bin/sh
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
%{__perl_requires} $* |\
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
sed -e '/perl(Test::More)/d'
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
EOF
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
%global __perl_requires %{_builddir}/Class-Data-Accessor-%{version}/%{name}-req
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
chmod +x %{__perl_requires}
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
|
|
Chris Weyl |
07de65b |
%build
|
|
Chris Weyl |
d8c1d26 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
Chris Weyl |
d8c1d26 |
make %{?_smp_mflags}
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
07de65b |
%install
|
|
Chris Weyl |
07de65b |
rm -rf %{buildroot}
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
d8c1d26 |
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
Chris Weyl |
d8c1d26 |
|
|
Chris Weyl |
d8c1d26 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
Chris Weyl |
07de65b |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
07de65b |
%{_fixperms} %{buildroot}/*
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
07de65b |
%check
|
|
Chris Weyl |
d8c1d26 |
# set TEST_AUTHOR=1 to enable the upstream author tests.
|
|
Chris Weyl |
d8c1d26 |
make test
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
07de65b |
%clean
|
|
Chris Weyl |
07de65b |
rm -rf %{buildroot}
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
07de65b |
%files
|
|
Chris Weyl |
07de65b |
%defattr(-,root,root,-)
|
|
Chris Weyl |
d8c1d26 |
%doc Changes README t/
|
|
Chris Weyl |
07de65b |
%{perl_vendorlib}/*
|
|
Chris Weyl |
07de65b |
%{_mandir}/man3/*
|
|
Chris Weyl |
07de65b |
|
|
Chris Weyl |
07de65b |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/c4dec74d923a165893cec932300d9c622cd1bc808dcfb5b14fe1c9d65afbcefc?s=16&d=retro) |
b45ace2 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.04004-5
|
|
![](https://seccdn.libravatar.org/avatar/c4dec74d923a165893cec932300d9c622cd1bc808dcfb5b14fe1c9d65afbcefc?s=16&d=retro) |
b45ace2 |
- rebuild against perl 5.10.1
|
|
![](https://seccdn.libravatar.org/avatar/c4dec74d923a165893cec932300d9c622cd1bc808dcfb5b14fe1c9d65afbcefc?s=16&d=retro) |
b45ace2 |
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
986e29d |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04004-4
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
986e29d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
986e29d |
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
* Wed Jun 17 2009 Iain Arnell <iarnell@gmail.com> 0.04004-3
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
- filter out requires perl(Test::More)
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
8d7a10a |
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
ef908e0 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04004-2
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
ef908e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
ef908e0 |
|
|
Chris Weyl |
d301042 |
* Thu Sep 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.04004-1
|
|
Chris Weyl |
d301042 |
- update to 0.04004
|
|
Chris Weyl |
d301042 |
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
21ae7f1 |
* Fri Aug 08 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04003-1
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
21ae7f1 |
- update to 0.04003
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
21ae7f1 |
- license fixed
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
21ae7f1 |
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
d280d98 |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04001-2
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
d280d98 |
Rebuild for new perl
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
d280d98 |
|
|
Chris Weyl |
486f888 |
* Thu May 31 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.04001-1
|
|
Chris Weyl |
486f888 |
- update -- 0.40001 clarifies conflicting license statements
|
|
Chris Weyl |
486f888 |
|
|
Chris Weyl |
0b88c17 |
* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.04000-3
|
|
Chris Weyl |
0b88c17 |
- bump
|
|
Chris Weyl |
0b88c17 |
|
|
Chris Weyl |
d8c1d26 |
* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.04000-2
|
|
Chris Weyl |
d8c1d26 |
- license -> Artistic until conflicting statements are resolved. See also
|
|
Chris Weyl |
d8c1d26 |
http://rt.cpan.org/Ticket/Display.html?id=27146
|
|
Chris Weyl |
f91542f |
|
|
Chris Weyl |
d8c1d26 |
* Tue May 15 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.04000-1
|
|
Chris Weyl |
d8c1d26 |
- Specfile autogenerated by cpanspec 1.71.
|