Hello community, here is the log from the commit of package perl-Benchmark-Timer for openSUSE:Factory checked in at 2013-01-29 11:32:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Benchmark-Timer (Old) and /work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Benchmark-Timer", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new/perl-Benchmark-Timer.changes 2013-01-29 11:32:51.000000000 +0100 @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Thu Jan 24 16:39:50 UTC 2013 - [email protected] + +- license update: GPL-2.0+ + SPDX format - the README file refers to the LICENSE file, which is + GPL-2.0+ + +------------------------------------------------------------------- +Mon Oct 10 05:35:30 UTC 2011 - [email protected] + +- initial package 0.7102 + * created by cpanspec 1.78.06 + New: ---- Benchmark-Timer-0.7102.tar.gz perl-Benchmark-Timer.changes perl-Benchmark-Timer.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Benchmark-Timer.spec ++++++ # # spec file for package perl-Benchmark-Timer # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Benchmark-Timer Version: 0.7102 Release: 1 License: GPL-2.0+ %define cpan_name Benchmark-Timer Summary: Benchmarking with statistical confidence Url: http://search.cpan.org/dist/Benchmark-Timer/ Group: Development/Libraries/Perl Source: http://www.cpan.org/authors/id/D/DC/DCOPPIT/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros #BuildRequires: perl(Benchmark::Timer) #BuildRequires: perl(inc::Module::Install) #BuildRequires: perl(JSON) #BuildRequires: perl(LWP::Simple) #BuildRequires: perl(Module::AutoInstall) #BuildRequires: perl(Module::Build) #BuildRequires: perl(Module::Install::Base) #BuildRequires: perl(Parse::CPAN::Meta) #BuildRequires: perl(YAML::Tiny) %{perl_requires} %description The Benchmark::Timer class allows you to time portions of code conveniently, as well as benchmark code by allowing timings of repeated trials. It is perfect for when you need more precise information about the running time of portions of your code than the Benchmark module will give you, but don't want to go all out and profile your code. The methodology is simple; create a Benchmark::Timer object, and wrap portions of code that you want to benchmark with 'start()' and 'stop()' method calls. You can supply a tag to those methods if you plan to time multiple portions of code. If you provide error and confidence values, you can also use 'need_more_samples()' to determine, statistically, whether you need to collect more data. After you have run your code, you can obtain information about the running time by calling the 'results()' method, or get a descriptive benchmark report by calling 'report()'. If you run your code over multiple trials, the average time is reported. This is wonderful for benchmarking time-critical portions of code in a rigorous way. You can also optionally choose to skip any number of initial trials to cut down on initial case irregularities. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc CHANGES LICENSE README %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
