8
0

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:
Christian Wittmer
2010-07-13 13:12:29 +00:00
committed by Git OBS Bridge
parent e6d112d834
commit e700cb4855
5 changed files with 62 additions and 23 deletions

3
Test-Script-1.07.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c2d3ad8e1a15a0eba44700a8ec402a6bf20d5def10150f6b31f1fefa910160af
size 24551

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e21e5ee43a27b4c51b54ded5c92e60b817309778117a1d98ae6354abff27eb96
size 26424

View File

@@ -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 Mon Feb 8 22:22:47 UTC 2010 - larry+opensuse@l2g.to

View File

@@ -15,49 +15,73 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Test-Script Name: perl-Test-Script
Version: 1.07 %define cpan_name Test-Script
Release: 2
Summary: Basic cross-platform tests for scripts Summary: Basic cross-platform tests for scripts
Version: 1.07
Release: 1
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Script/ Url: http://search.cpan.org/dist/Test-Script/
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Script-%{version}.tar.gz #Source: http://www.cpan.org/modules/by-module/Test/Test-Script-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch BuildArch: noarch
BuildRequires: perl-IPC-Run3 perl-Probe-Perl BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl = %{perl_version} BuildRequires: perl
Requires: perl-Probe-Perl perl-IPC-Run3 %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(File::Spec) >= 0.80
Requires: perl(IPC::Run3) >= 0.034
Requires: perl(Probe::Perl) >= 0.01
%description %description
The intent of this module is to provide a series of basic tests for 80% of 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 the testing you will need to do for scripts in the script (or bin as is
also commonly used) paths of your Perl distribution. also commonly used) paths of your Perl distribution.
Author:
-------
Adam Kennedy <adamk@cpan.org>
%prep %prep
%setup -q -n Test-Script-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%{__make} %{?_smp_mflags}
# FIXME test 03,05 failing for SLE_10
%if 0%{?suse_version} > 1020
%check
%{__make} test
%endif
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist # do not perl_process_packlist (noarch)
# remove .packlist file
%check %{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
make test # remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes LICENSE README %doc Changes LICENSE README
%{perl_vendorlib}/Test/Script*
%{_mandir}/man3/Test::Script*.3pm*
/var/adm/perl-modules/%{name}
%changelog %changelog

0
ready
View File