Name: perl-Class-Accessor-Chained Version: 0.01 Release: 45%{?dist} Summary: Make chained accessors License: GPL+ or Artistic URL: https://metacpan.org/release/Class-Accessor-Chained Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Class-Accessor-Chained-%{version}.tar.gz Patch0: Class-Accessor-Chained-0.01-pod.patch BuildArch: noarch BuildRequires: /usr/bin/pod2text BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Class::Accessor) BuildRequires: perl(Class::Accessor::Fast) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) Requires: perl(Class::Accessor) Requires: perl(Class::Accessor::Fast) %description A chained accessor is one that always returns the object when called with parameters (to set), and the value of the field when called with no arguments. This module subclasses Class::Accessor in order to provide the same mk_accessors interface. %prep %setup -q -n Class-Accessor-Chained-%{version} # Fix broken POD in README (#914250) %patch0 # Convert POD-formatted README to plain text for %%doc pod2text README > README.txt %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %{_fixperms} $RPM_BUILD_ROOT %check make test %files %doc Changes README.txt %{perl_vendorlib}/Class/Accessor/ %{_mandir}/man3/Class::Accessor::Chained.3pm* %{_mandir}/man3/Class::Accessor::Chained::Fast.3pm* %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.01-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.01-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.01-43 - Perl 5.34 rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.01-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 08 2020 Charles R. Anderson - 0.01-41 - BR make * Tue Jul 28 2020 Fedora Release Engineering - 0.01-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.01-39 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.01-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.01-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.01-36 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.01-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.01-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.01-33 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.01-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.01-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.01-30 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.01-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.01-28 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.01-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.01-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 0.01-25 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 0.01-24 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.01-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.01-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 0.01-21 - Perl 5.18 rebuild * Tue Feb 26 2013 Paul Howarth - 0.01-20 - Add patch to fix broken POD in README, causing FTBFS (#914250) - BR:/R: perl(Carp) - BR: /usr/bin/pod2text, perl(base), perl(Class::Accessor::Fast) and perl(ExtUtils::MakeMaker) - Upstream doesn't ship license files so neither should we - Enhance %%description - Don't use macros for commands - Don't need to remove empty directories from the buildroot - Use %%{_fixperms} macro rather than our own chmod incantation - Use DESTDIR rather than PERL_INSTALL_ROOT - Make %%files list more explicit * Thu Feb 14 2013 Fedora Release Engineering - 0.01-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.01-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.01-17 - Perl 5.16 rebuild * Sun Jan 22 2012 Tom Callaway - 0.01-16 - fix build * Fri Jan 13 2012 Fedora Release Engineering - 0.01-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.01-14 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.01-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Marcela Maslanova - 0.01-12 - Rebuild to fix problems with vendorarch/lib (#661697) * Fri Apr 30 2010 Marcela Maslanova - 0.01-11 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.01-10 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.01-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.01-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 0.01-7 - Rebuild for perl 5.10 (again) * Sun Jan 20 2008 Tom "spot" Callaway 0.01-6 - rebuild for new perl * Fri Aug 24 2007 Tom "spot" Callaway 0.01-5 - license fix * Thu Sep 14 2006 Tom "spot" Callaway 0.01-4 - fc6 bump * Tue Aug 30 2005 Tom "spot" Callaway 0.01-3 - more cleanups * Fri Jul 8 2005 Tom "spot" Callaway 0.01-2 - cleanups * Wed Jul 6 2005 Tom "spot" Callaway 0.01-1 - Initial package for Fedora Extras