Accepting request 297364 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/297364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Log-Any-Adapter-Log4perl?expand=0&rev=2
This commit is contained in:
Stephan Kulow
2015-04-16 20:17:53 +00:00
committed by Git OBS Bridge
parent 64571ee3ee
commit 7b0031eb5e
5 changed files with 77 additions and 41 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e9771a84afcea5b54edbcef3448e5b32f880364f7a19e814d6b94cfef7a0f9a
size 22838

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b65709524a5fa0699fec21cee5e9b830284944088860331c046fdbafb375c475
size 16616

20
cpanspec.yml Normal file
View File

@@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#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_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 16 20:04:52 UTC 2015 - coolo@suse.com
- updated to 0.08
see /usr/share/doc/packages/perl-Log-Any-Adapter-Log4perl/Changes
-------------------------------------------------------------------
Thu Mar 03 20:23:02 CET 2011 - pascal.bleser@opensuse.org

View File

@@ -1,56 +1,66 @@
# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-Log-Any-Adapter-Log4perl
#
# Copyright (c) 2015 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
# 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-Log-Any-Adapter-Log4perl
Version: 0.06
Version: 0.08
Release: 0
Summary: Adapter to use Log::Log4perl with Log::Any
Source: ftp://ftp.cpan.org/pub/CPAN/authors/id/J/JS/JSWARTZ/Log-Any-Adapter-Log4perl-%{version}.tar.gz
URL: http://search.cpan.org/dist/Log-Any-Adapter-Log4perl
%define cpan_name Log-Any-Adapter-Log4perl
Summary: Log::Any adapter for Log::Log4perl
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(Test::More)
BuildRequires: perl(File::Temp) >= 0.20
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Log::Any::Adapter)
BuildRequires: perl(Log::Log4perl) >= 1.00
Requires: perl(Log::Any::Adapter)
Requires: perl(Log::Log4perl) >= 1.00
%if 0%{?suse_version} >= 1120
Url: http://search.cpan.org/dist/Log-Any-Adapter-Log4perl/
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Temp) >= 0.20
BuildRequires: perl(Log::Any::Adapter) >= 1.03
BuildRequires: perl(Log::Any::Adapter::Base)
BuildRequires: perl(Log::Any::Adapter::Util) >= 1.03
BuildRequires: perl(Log::Log4perl) >= 1.32
Requires: perl(Log::Any::Adapter::Base)
Requires: perl(Log::Any::Adapter::Util) >= 1.03
Requires: perl(Log::Log4perl) >= 1.32
%{perl_requires}
%description
This Log::Any adapter uses Log::Log4perl for logging. log4perl must be
initialized before calling *set*. There are no parameters.
initialized before calling _set_. There are no parameters.
%prep
%setup -q -n "Log-Any-Adapter-Log4perl-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Log
%dir %{perl_vendorlib}/Log/Any
%dir %{perl_vendorlib}/Log/Any/Adapter
%{perl_vendorlib}/Log/Any/Adapter/Log4perl.pm
%doc %{perl_man3dir}/Log::Any::Adapter::Log4perl.%{perl_man3ext}%{ext_man}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING.mkdn LICENSE README
%changelog