From 95ee6f3b731b2ad576745052deaecf941aee9942 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 11 Jun 2019 12:33:29 -0400 Subject: [PATCH] import perl-accessors-1.01-21.el8+1694+ef8073e1 --- .gitignore | 1 + .perl-accessors.metadata | 1 + SPECS/perl-accessors.spec | 112 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-accessors.metadata create mode 100644 SPECS/perl-accessors.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c6b4ad --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/accessors-1.01.tar.gz diff --git a/.perl-accessors.metadata b/.perl-accessors.metadata new file mode 100644 index 0000000..199611c --- /dev/null +++ b/.perl-accessors.metadata @@ -0,0 +1 @@ +5b64737926bf8d1dd04c80ac96f00bbc599389da SOURCES/accessors-1.01.tar.gz diff --git a/SPECS/perl-accessors.spec b/SPECS/perl-accessors.spec new file mode 100644 index 0000000..7dca700 --- /dev/null +++ b/SPECS/perl-accessors.spec @@ -0,0 +1,112 @@ +Name: perl-accessors +Version: 1.01 +Release: 21%{?dist} +Summary: Create accessor methods in caller's package +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/accessors/ +Source0: http://www.cpan.org/authors/id/S/SP/SPURKIS/accessors-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 1:5.6.0 +BuildRequires: perl-generators +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) >= 0.01 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The accessors pragma lets you create simple accessors at compile-time. + +%prep +%setup -q -n accessors-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +# A few of the .pm modules have bogus execute permission +find $RPM_BUILD_ROOT%{perl_vendorlib} -name *.pm | xargs chmod a-x + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.01-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.01-20 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.01-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1.01-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 1.01-17 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 1.01-16 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.01-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.01-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 1.01-13 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.01-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.01-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Petr Pisar - 1.01-10 +- Perl 5.16 rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.01-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 1.01-8 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.01-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 14 2011 Karsten Hopp 1.01-6 +- bump release and rebuild to fix miscompile on s390x + +* Tue Dec 14 2010 Marcela Maslanova - 1.01-5 +- rebuild for fixing problems with vendorach/lib + +* Thu Apr 29 2010 Marcela Maslanova - 1.01-4 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 1.01-3 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 1.01-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jul 06 2009 Daniel P. Berrange 1.01-1 +- Specfile autogenerated by cpanspec 1.78.