forked from pool/perl-Test-Script
Accepting request 34250 from devel:languages:perl
checked in (request 34250) OBS-URL: https://build.opensuse.org/request/show/34250 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Script?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
0e22115993
commit
e6d112d834
@@ -1,11 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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
|
||||||
|
|
||||||
|
@@ -15,34 +15,21 @@
|
|||||||
# 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
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
||||||
Summary: Basic cross-platform tests for scripts
|
|
||||||
Version: 1.07
|
Version: 1.07
|
||||||
Release: 2
|
Release: 2
|
||||||
|
Summary: Basic cross-platform tests for scripts
|
||||||
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
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Script-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl-IPC-Run3 perl-Probe-Perl
|
||||||
%if 0%{?suse_version} < 1120
|
Requires: perl = %{perl_version}
|
||||||
BuildRequires: perl-macros
|
Requires: perl-Probe-Perl perl-IPC-Run3
|
||||||
%endif
|
|
||||||
BuildRequires: perl(File::Spec) >= 0.80
|
|
||||||
BuildRequires: perl(Test::More) >= 0.62
|
|
||||||
BuildRequires: perl(Test::Builder) >= 0.32
|
|
||||||
BuildRequires: perl(Test::Builder::Tester) >= 1.02
|
|
||||||
# not perl | perl-base
|
|
||||||
BuildRequires: perl(IPC::Run3) >= 0.034
|
|
||||||
BuildRequires: perl(Probe::Perl) >= 0.01
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
Requires: perl(IPC::Run3) >= 0.034
|
|
||||||
Requires: perl(Probe::Perl) >= 0.01
|
|
||||||
Provides: %{cpan_name}
|
|
||||||
|
|
||||||
%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
|
||||||
@@ -50,25 +37,27 @@ 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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n Test-Script-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
|
||||||
%{__make} test
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%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
|
||||||
|
Reference in New Issue
Block a user