You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
3.9 KiB
113 lines
3.9 KiB
9 months ago
|
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 <releng@fedoraproject.org> - 1.01-21
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||
|
|
||
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-20
|
||
|
- Perl 5.24 rebuild
|
||
|
|
||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.01-19
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-18
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||
|
|
||
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-17
|
||
|
- Perl 5.22 rebuild
|
||
|
|
||
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-16
|
||
|
- Perl 5.20 rebuild
|
||
|
|
||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-15
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||
|
|
||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-14
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||
|
|
||
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.01-13
|
||
|
- Perl 5.18 rebuild
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-12
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-11
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.01-10
|
||
|
- Perl 5.16 rebuild
|
||
|
|
||
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.01-8
|
||
|
- Perl mass rebuild
|
||
|
|
||
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
|
||
|
* Fri Jan 14 2011 Karsten Hopp <karsten@redhat.com> 1.01-6
|
||
|
- bump release and rebuild to fix miscompile on s390x
|
||
|
|
||
|
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-5
|
||
|
- rebuild for fixing problems with vendorach/lib
|
||
|
|
||
|
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-4
|
||
|
- Mass rebuild with perl-5.12.0
|
||
|
|
||
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.01-3
|
||
|
- rebuild against perl 5.10.1
|
||
|
|
||
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||
|
|
||
|
* Mon Jul 06 2009 Daniel P. Berrange <berrange@redhat.com> 1.01-1
|
||
|
- Specfile autogenerated by cpanspec 1.78.
|