forked from pool/perl-Test-Exception-LessClever
Accepting request 440932 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/440932 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Exception-LessClever?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
b3baf8223d
commit
85f31fb472
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf284967b9ac384ffc59b62105cdeb600abfa48028be2886190d6a8545fdea28
|
||||
size 5483
|
3
Test-Exception-LessClever-0.009.tar.gz
Normal file
3
Test-Exception-LessClever-0.009.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b2731a44956a11f74b46b3ecf0734fab651e1c0bcf120f8b407aa1b4d43ac34
|
||||
size 6389
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 19 07:22:01 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 0.009
|
||||
see /usr/share/doc/packages/perl-Test-Exception-LessClever/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 6 07:23:07 UTC 2016 - coolo@suse.com
|
||||
|
||||
|
@@ -17,50 +17,43 @@
|
||||
|
||||
|
||||
Name: perl-Test-Exception-LessClever
|
||||
Version: 0.008
|
||||
Version: 0.009
|
||||
Release: 0
|
||||
%define cpan_name Test-Exception-LessClever
|
||||
Summary: Test::Exception simplified ***(DEPRECATED)***
|
||||
Summary: (DEPRECATED) Test::Exception simplified
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Test-Exception-LessClever/
|
||||
Source0: http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Mock::Quick) >= 1.100
|
||||
BuildRequires: perl(Module::Build) >= 0.420000
|
||||
BuildRequires: perl(Test::Simple) >= 0.88
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
*** This is deprecated please do not use it ***
|
||||
|
||||
An alternative to Test::Exception that is much simpler. This alternative
|
||||
does not use fancy stack tricks to hide itself. The idea here is to keep it
|
||||
simple. This also solves the Test::Exception bug where some dies will be
|
||||
hidden when a DESTROY method calls eval. If a DESTROY method masks $@ a
|
||||
warning will be generated as well.
|
||||
(DEPRECATED) Test::Exception simplified
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc README
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user