8
0

Accepting request 530699 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/530699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MooseX-Log-Log4perl?expand=0&rev=11
This commit is contained in:
2017-10-03 21:18:52 +00:00
committed by Git OBS Bridge
3 changed files with 12 additions and 29 deletions

View File

@@ -1,28 +1,3 @@
--- ---
#description_paragraphs: 3 post_prep:
#description: |- sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
# 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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 3 07:48:41 UTC 2017 - coolo@suse.com
- patch the Makefile to build with perl 5.26
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 9 09:24:31 UTC 2015 - coolo@suse.com Wed Dec 9 09:24:31 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-MooseX-Log-Log4perl # spec file for package perl-MooseX-Log-Log4perl
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@ Summary: Logging Role for Moose based on Log::Log4perl
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MooseX-Log-Log4perl/ Url: http://search.cpan.org/dist/MooseX-Log-Log4perl/
Source0: http://www.cpan.org/authors/id/L/LA/LAMMEL/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/L/LA/LAMMEL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -74,6 +74,9 @@ the main application:
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# MANUAL BEGIN
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
# MANUAL END
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor