|
|
1d1c0d4 |
Name: perl-IO-Null
|
|
|
1d1c0d4 |
Version: 1.01
|
|
|
1e36b6a |
Release: 11%{?dist}
|
|
|
1d1c0d4 |
Summary: Class for null filehandles
|
|
|
8d76c16 |
License: GPL+ or Artistic
|
|
|
1d1c0d4 |
Group: Development/Libraries
|
|
|
1d1c0d4 |
URL: http://search.cpan.org/dist/IO-Null/
|
|
|
1d1c0d4 |
Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/IO-Null-%{version}.tar.gz
|
|
|
1d1c0d4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
1d1c0d4 |
BuildArch: noarch
|
|
|
23af6cb |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
1d1c0d4 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%description
|
|
|
1d1c0d4 |
IO::Null is a class for null filehandles. Calling a constructor of
|
|
|
1d1c0d4 |
this class always succeeds, returning a new null filehandle. Writing
|
|
|
1d1c0d4 |
to any object of this class is always a no-operation, and returns
|
|
|
1d1c0d4 |
true. Reading from any object of this class is always no-operation,
|
|
|
1d1c0d4 |
and returns empty-string or empty-list, as appropriate.
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%prep
|
|
|
1d1c0d4 |
%setup -q -n IO-Null-%{version}
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%build
|
|
|
1d1c0d4 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
1d1c0d4 |
make %{?_smp_mflags}
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%install
|
|
|
1d1c0d4 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
1b3a2d7 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
1d1c0d4 |
|
|
|
23af6cb |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%check
|
|
|
1d1c0d4 |
make test
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%clean
|
|
|
1d1c0d4 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%files
|
|
|
1d1c0d4 |
%defattr(-,root,root,-)
|
|
|
1d1c0d4 |
%doc ChangeLog README
|
|
|
1d1c0d4 |
%{perl_vendorlib}/*
|
|
|
1d1c0d4 |
%{_mandir}/man3/*
|
|
|
1d1c0d4 |
|
|
|
1d1c0d4 |
%changelog
|
|
|
1e36b6a |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.01-11
|
|
|
1e36b6a |
- Perl mass rebuild
|
|
|
1e36b6a |
|
|
|
d32ead4 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-10
|
|
|
d32ead4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d32ead4 |
|
|
|
ac27c11 |
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-9
|
|
|
ac27c11 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
ac27c11 |
|
|
|
4bdf7db |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-8
|
|
|
4bdf7db |
- Mass rebuild with perl-5.12.0
|
|
|
4bdf7db |
|
|
|
4fa66f0 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.01-7
|
|
|
4fa66f0 |
- rebuild against perl 5.10.1
|
|
|
4fa66f0 |
|
|
|
0fa1097 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-6
|
|
|
0fa1097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
0fa1097 |
|
|
|
3d4a7d6 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-5
|
|
|
3d4a7d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3d4a7d6 |
|
|
|
8d76c16 |
* Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-4
|
|
|
8d76c16 |
- rebuild for new perl
|
|
|
8d76c16 |
|
|
|
23af6cb |
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.01-3
|
|
|
23af6cb |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
23af6cb |
- BR ExtUtils::MakeMaker.
|
|
|
23af6cb |
|
|
|
1b3a2d7 |
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.01-2
|
|
|
1b3a2d7 |
- Fix find option order.
|
|
|
1b3a2d7 |
|
|
|
1d1c0d4 |
* Thu Mar 09 2006 Steven Pritchard <steve@kspei.com> 1.01-1
|
|
|
1d1c0d4 |
- Specfile autogenerated.
|
|
|
1d1c0d4 |
- Improve description and Summary.
|
|
|
1d1c0d4 |
- Fix License.
|