|
|
51bbc07 |
Name: perl-Class-Accessor-Chained
|
|
|
51bbc07 |
Version: 0.01
|
|
|
19bf64d |
Release: 26%{?dist}
|
|
|
51bbc07 |
Summary: Make chained accessors
|
|
|
51bbc07 |
Group: Development/Libraries
|
|
|
475bb43 |
License: GPL+ or Artistic
|
|
|
51bbc07 |
URL: http://search.cpan.org/dist/Class-Accessor-Chained/
|
|
|
51bbc07 |
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/Class-Accessor-Chained-%{version}.tar.gz
|
|
|
acc467f |
Patch0: Class-Accessor-Chained-0.01-pod.patch
|
|
|
51bbc07 |
BuildArch: noarch
|
|
|
acc467f |
BuildRequires: /usr/bin/pod2text
|
|
|
acc467f |
BuildRequires: perl(base)
|
|
|
acc467f |
BuildRequires: perl(Carp)
|
|
|
acc467f |
BuildRequires: perl(Class::Accessor)
|
|
|
acc467f |
BuildRequires: perl(Class::Accessor::Fast)
|
|
|
acc467f |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
acc467f |
BuildRequires: perl(Test::More)
|
|
|
acc467f |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
acc467f |
Requires: perl(Carp)
|
|
|
acc467f |
Requires: perl(Class::Accessor)
|
|
|
acc467f |
Requires: perl(Class::Accessor::Fast)
|
|
|
51bbc07 |
|
|
|
51bbc07 |
%description
|
|
|
acc467f |
A chained accessor is one that always returns the object when called with
|
|
|
acc467f |
parameters (to set), and the value of the field when called with no arguments.
|
|
|
acc467f |
This module subclasses Class::Accessor in order to provide the same
|
|
|
acc467f |
mk_accessors interface.
|
|
|
51bbc07 |
|
|
|
51bbc07 |
%prep
|
|
|
51bbc07 |
%setup -q -n Class-Accessor-Chained-%{version}
|
|
|
acc467f |
|
|
|
acc467f |
# Fix broken POD in README (#914250)
|
|
|
acc467f |
%patch0
|
|
|
acc467f |
|
|
|
acc467f |
# Convert POD-formatted README to plain text for %%doc
|
|
|
51bbc07 |
pod2text README > README.txt
|
|
|
51bbc07 |
|
|
|
51bbc07 |
%build
|
|
|
acc467f |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
51bbc07 |
make %{?_smp_mflags}
|
|
|
51bbc07 |
|
|
|
51bbc07 |
%install
|
|
|
acc467f |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
51bbc07 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
acc467f |
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
51bbc07 |
|
|
|
51bbc07 |
%check
|
|
|
51bbc07 |
make test
|
|
|
51bbc07 |
|
|
|
51bbc07 |
%files
|
|
|
acc467f |
%doc Changes README.txt
|
|
|
acc467f |
%{perl_vendorlib}/Class/Accessor/
|
|
|
acc467f |
%{_mandir}/man3/Class::Accessor::Chained.3pm*
|
|
|
acc467f |
%{_mandir}/man3/Class::Accessor::Chained::Fast.3pm*
|
|
|
51bbc07 |
|
|
|
51bbc07 |
%changelog
|
|
|
19bf64d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-26
|
|
|
19bf64d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
19bf64d |
|
|
|
67a03ef |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.01-25
|
|
|
67a03ef |
- Perl 5.22 rebuild
|
|
|
67a03ef |
|
|
|
40b6462 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.01-24
|
|
|
40b6462 |
- Perl 5.20 rebuild
|
|
|
40b6462 |
|
|
|
95b769d |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-23
|
|
|
95b769d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
95b769d |
|
|
|
9995cc5 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-22
|
|
|
9995cc5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9995cc5 |
|
|
|
89b271c |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.01-21
|
|
|
89b271c |
- Perl 5.18 rebuild
|
|
|
89b271c |
|
|
|
acc467f |
* Tue Feb 26 2013 Paul Howarth <paul@city-fan.org> - 0.01-20
|
|
|
acc467f |
- Add patch to fix broken POD in README, causing FTBFS (#914250)
|
|
|
acc467f |
- BR:/R: perl(Carp)
|
|
|
acc467f |
- BR: /usr/bin/pod2text, perl(base), perl(Class::Accessor::Fast) and
|
|
|
acc467f |
perl(ExtUtils::MakeMaker)
|
|
|
acc467f |
- Upstream doesn't ship license files so neither should we
|
|
|
acc467f |
- Enhance %%description
|
|
|
acc467f |
- Don't use macros for commands
|
|
|
acc467f |
- Don't need to remove empty directories from the buildroot
|
|
|
acc467f |
- Use %%{_fixperms} macro rather than our own chmod incantation
|
|
|
acc467f |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
acc467f |
- Make %%files list more explicit
|
|
|
acc467f |
|
|
|
ee6bee9 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-19
|
|
|
ee6bee9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ee6bee9 |
|
|
|
091d6e1 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-18
|
|
|
091d6e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
091d6e1 |
|
|
|
7a70991 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.01-17
|
|
|
7a70991 |
- Perl 5.16 rebuild
|
|
|
7a70991 |
|
|
|
bc6c532 |
* Sun Jan 22 2012 Tom Callaway <spot@fedoraproject.org> - 0.01-16
|
|
|
bc6c532 |
- fix build
|
|
|
bc6c532 |
|
|
|
5c45ff3 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-15
|
|
|
5c45ff3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5c45ff3 |
|
|
|
67f7b80 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.01-14
|
|
|
67f7b80 |
- Perl mass rebuild
|
|
|
67f7b80 |
|
|
|
af47997 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-13
|
|
|
af47997 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
af47997 |
|
|
|
bdcd492 |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-12
|
|
|
acc467f |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
bdcd492 |
|
|
|
75b2387 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-11
|
|
|
75b2387 |
- Mass rebuild with perl-5.12.0
|
|
|
75b2387 |
|
|
|
04c4e42 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.01-10
|
|
|
04c4e42 |
- rebuild against perl 5.10.1
|
|
|
04c4e42 |
|
|
|
eb3ec0d |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-9
|
|
|
eb3ec0d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
eb3ec0d |
|
|
|
67e98e2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-8
|
|
|
67e98e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
67e98e2 |
|
|
|
5e87b8b |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-7
|
|
|
5e87b8b |
- Rebuild for perl 5.10 (again)
|
|
|
5e87b8b |
|
|
|
2b23c5d |
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-6
|
|
|
2b23c5d |
- rebuild for new perl
|
|
|
2b23c5d |
|
|
|
475bb43 |
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-5
|
|
|
475bb43 |
- license fix
|
|
|
475bb43 |
|
|
|
56f4784 |
* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-4
|
|
|
56f4784 |
- fc6 bump
|
|
|
56f4784 |
|
|
|
51bbc07 |
* Tue Aug 30 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-3
|
|
|
51bbc07 |
- more cleanups
|
|
|
51bbc07 |
|
|
|
51bbc07 |
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-2
|
|
|
51bbc07 |
- cleanups
|
|
|
51bbc07 |
|
|
|
51bbc07 |
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-1
|
|
|
51bbc07 |
- Initial package for Fedora Extras
|