forked from pool/perl-Test-Script
Accepting request 42868 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-Test-Script via accept of submit request 42868 revision 3. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/42868 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Script?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
e6d112d834
commit
e700cb4855
3
Test-Script-1.07.tar.bz2
Normal file
3
Test-Script-1.07.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2d3ad8e1a15a0eba44700a8ec402a6bf20d5def10150f6b31f1fefa910160af
|
||||
size 24551
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e21e5ee43a27b4c51b54ded5c92e60b817309778117a1d98ae6354abff27eb96
|
||||
size 26424
|
||||
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 13:03:46 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- recreated by cpanspec 1.78
|
||||
- noarch package
|
||||
- enable check for suse_version > 1020 only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 4 22:41:22 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- cleanup spec
|
||||
- fixed deps
|
||||
- added perl-macros
|
||||
o perl_gen_filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 8 22:22:47 UTC 2010 - larry+opensuse@l2g.to
|
||||
|
||||
|
||||
@@ -15,49 +15,73 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Test-Script
|
||||
Version: 1.07
|
||||
Release: 2
|
||||
%define cpan_name Test-Script
|
||||
Summary: Basic cross-platform tests for scripts
|
||||
Version: 1.07
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-Script/
|
||||
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Script-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#Source: http://www.cpan.org/modules/by-module/Test/Test-Script-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-IPC-Run3 perl-Probe-Perl
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(File::Spec) >= 0.80
|
||||
BuildRequires: perl(IPC::Run3) >= 0.034
|
||||
BuildRequires: perl(Probe::Perl) >= 0.01
|
||||
BuildRequires: perl(Test::More) >= 0.62
|
||||
BuildRequires: perl(Test::Builder) >= 0.32
|
||||
BuildRequires: perl(Test::Builder::Tester) >= 1.02
|
||||
#
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl-Probe-Perl perl-IPC-Run3
|
||||
Requires: perl(File::Spec) >= 0.80
|
||||
Requires: perl(IPC::Run3) >= 0.034
|
||||
Requires: perl(Probe::Perl) >= 0.01
|
||||
|
||||
%description
|
||||
The intent of this module is to provide a series of basic tests for 80% of
|
||||
the testing you will need to do for scripts in the script (or bin as is
|
||||
also commonly used) paths of your Perl distribution.
|
||||
|
||||
Author:
|
||||
-------
|
||||
Adam Kennedy <adamk@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Script-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
# FIXME test 03,05 failing for SLE_10
|
||||
%if 0%{?suse_version} > 1020
|
||||
%check
|
||||
%{__make} test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%check
|
||||
make test
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/Test/Script*
|
||||
%{_mandir}/man3/Test::Script*.3pm*
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user