Author: corsepiu
Update of /cvs/pkgs/rpms/perl-Test-Script/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28923
Modified Files:
.cvsignore sources
Added Files:
perl-Test-Script.spec
Log Message:
Import.
--- NEW FILE perl-Test-Script.spec ---
Name: perl-Test-Script
Version: 1.02
Release: 2%{?dist}
Summary: Cross-platform basic tests for scripts
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Test-Script/
Source0:
http://www.cpan.org/modules/by-module/Test/Test-Script-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IPC::Run3) >= 0.034
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
The intent of this module is to provide a series of basic tests for scripts
in the bin directory of your Perl distribution.
%prep
%setup -q -n Test-Script-%{version}
# Broken permissions in tarball
chmod -x Changes lib/Test/*pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_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
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Sep 18 2007 Ralf Corsépius <rc040203(a)freenet.de> - 1.02-2
- Reflect license tag changes.
- BR: perl(Test::More).
- Remove BR: perl.
- Add chmod -x Changes lib/Test/*pm
* Tue Aug 07 2007 Ralf Corsépius <rc040203(a)freenet.de> - 1.02-1
- Specfile autogenerated by cpanspec 1.73.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Script/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 19 Sep 2007 03:57:51 -0000 1.1
+++ .cvsignore 19 Sep 2007 04:09:26 -0000 1.2
@@ -0,0 +1 @@
+Test-Script-1.02.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Script/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 Sep 2007 03:57:51 -0000 1.1
+++ sources 19 Sep 2007 04:09:26 -0000 1.2
@@ -0,0 +1 @@
+affeb47b8c7b9f1eb6ff346daa85784d Test-Script-1.02.tar.gz