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.
80 lines
2.5 KiB
80 lines
2.5 KiB
Name: perl-Test-Portability-Files
|
|
Version: 0.05
|
|
Release: 7%{?dist}
|
|
Summary: Check file names portability
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Test-Portability-Files/
|
|
Source0: http://www.cpan.org/authors/id/S/SA/SAPER/Test-Portability-Files-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
#BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
This module is used to check the portability across operating systems of
|
|
the names of the files present in the distribution of a module. The tests
|
|
use the advices given in "Files and Filesystems" in perlport. The author of
|
|
a distribution can select which tests to execute.
|
|
|
|
%prep
|
|
%setup -q -n Test-Portability-Files-%{version}
|
|
|
|
%build
|
|
#%{__perl} Build.PL installdirs=vendor
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
#./Build
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
#./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
#./Build test
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes LICENSE LICENSE.Artistic LICENSE.GPL README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-6
|
|
- rebuild for new perl
|
|
|
|
* Sun Dec 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.05-5
|
|
- BR: perl(Test::More).
|
|
- BR: perl(Test::Pod), perl(Test::Pod::Coverage).
|
|
- Adjust License-tag.
|
|
|
|
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.05-4
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.05-3
|
|
- Fix find option order.
|
|
|
|
* Fri May 12 2006 Steven Pritchard <steve@kspei.com> 0.05-2
|
|
- Use Makefile.PL temporarily to work around Module::Build breakage.
|
|
|
|
* Fri May 12 2006 Steven Pritchard <steve@kspei.com> 0.05-1
|
|
- Specfile autogenerated by cpanspec 1.66.
|