- eliminate attempt to remove the benchmark test. The new install process

no longer installs the benchmark test into the target tree, thus the
  removal of the file to hide it from the package is obsolete.
  + Fixes the build failure on all distros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Readonly?expand=0&rev=19
This commit is contained in:
Robert Schweikert 2013-12-30 14:32:57 +00:00 committed by Git OBS Bridge
parent 1efe6458da
commit 6d6bab9cda
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Dec 30 14:30:37 UTC 2013 - rschweikert@suse.com
- eliminate attempt to remove the benchmark test. The new install process
no longer installs the benchmark test into the target tree, thus the
removal of the file to hide it from the package is obsolete.
+ Fixes the build failure on all distros
-------------------------------------------------------------------
Tue Nov 26 07:33:04 UTC 2013 - coolo@suse.com

View File

@ -32,10 +32,6 @@ BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(Module::Build) >= 0.38
#BuildRequires: perl(Readonly)
#BuildRequires: perl(Readonly::Array)
#BuildRequires: perl(Readonly::Hash)
#BuildRequires: perl(Readonly::Scalar)
Recommends: perl(Readonly::XS) >= 1.06
%{perl_requires}
@ -53,8 +49,6 @@ Facility for creating read-only scalars, arrays, hashes
./Build test
%install
# MANUAL
%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/benchmark.pl
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist