Accepting request 360296 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/360296 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Log-Fast?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
a264afb603
commit
b33d951d79
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51cec2b55115c6110d459f2faeb6d9b5d696beb1aee02f06d05474f24e1af970
|
||||
size 44137
|
3
Log-Fast-v2.0.0.tar.gz
Normal file
3
Log-Fast-v2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57a28d71fec0db8715da495dc8aa852453af0aa1609edace0ac966e68a792ec6
|
||||
size 15712
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
6
perl-Log-Fast.changes
Normal file
6
perl-Log-Fast.changes
Normal file
@@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 10:28:41 UTC 2016 - coolo@suse.com
|
||||
|
||||
- initial package 2.0.0
|
||||
* created by cpanspec 1.78.08
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Log-Fast
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,41 +17,23 @@
|
||||
|
||||
|
||||
Name: perl-Log-Fast
|
||||
Version: 1.0.6
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
%define cpan_name Log-Fast
|
||||
Summary: Fast and flexible logger
|
||||
License: MIT
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Log-Fast/
|
||||
Source: http://www.cpan.org/authors/id/P/PO/POWERMAN/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/P/PO/POWERMAN/%{cpan_name}-v%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
||||
BuildRequires: perl(Sys::Syslog) >= 0.29
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(version)
|
||||
#BuildRequires: perl(a)
|
||||
#BuildRequires: perl(a::b)
|
||||
#BuildRequires: perl(CPANPLUS::Backend)
|
||||
#BuildRequires: perl(inc::Module::Install)
|
||||
#BuildRequires: perl(JSON)
|
||||
#BuildRequires: perl(Log::Fast)
|
||||
#BuildRequires: perl(LWP::Simple)
|
||||
#BuildRequires: perl(Module::AutoInstall)
|
||||
#BuildRequires: perl(Module::Build)
|
||||
#BuildRequires: perl(Module::Install::Base)
|
||||
#BuildRequires: perl(Parse::CPAN::Meta)
|
||||
#BuildRequires: perl(Test::Perl::Critic)
|
||||
#BuildRequires: perl(YAML::Tiny)
|
||||
Requires: perl(Sys::Syslog) >= 0.29
|
||||
Requires: perl(version)
|
||||
Recommends: perl(Pod::Coverage) >= 0.18
|
||||
Recommends: perl(Test::CheckManifest) >= 0.9
|
||||
Recommends: perl(Test::Perl::Critic)
|
||||
Recommends: perl(Test::Pod) >= 1.22
|
||||
Recommends: perl(Test::Pod::Coverage) >= 1.08
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -64,27 +46,26 @@ levels or 20000 messages on disabled log levels in _one second_ will slow
|
||||
down your application only by 2-3%.
|
||||
|
||||
Comparing to some other CPAN modules, this one (in average): faster than
|
||||
the Log::Dispatch manpage in about 45 times, faster than the Log::Handler
|
||||
manpage in about 15 times, faster than the Sys::Syslog manpage in about 7
|
||||
times, and slower than the Log::Syslog::Fast manpage in about 2 times.
|
||||
Log::Dispatch in about 45 times, faster than Log::Handler in about 15
|
||||
times, faster than Sys::Syslog in about 7 times, and slower than
|
||||
Log::Syslog::Fast in about 2 times.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%setup -q -n %{cpan_name}-v%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
./Build test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user