forked from pool/perl-Class-Method-Modifiers-Fast
- Fix build with perl 5.26
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Method-Modifiers-Fast?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
d0faff79e0
commit
9fce14f9a5
4
cpanspec.yml
Normal file
4
cpanspec.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
post_prep: |-
|
||||||
|
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
||||||
|
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 12 05:44:16 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- Fix build with perl 5.26
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 25 14:44:57 UTC 2012 - coolo@suse.com
|
Mon Jun 25 14:44:57 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Class-Method-Modifiers-Fast
|
# spec file for package perl-Class-Method-Modifiers-Fast
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products 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
|
||||||
@@ -20,17 +20,17 @@ Name: perl-Class-Method-Modifiers-Fast
|
|||||||
Version: 0.041
|
Version: 0.041
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Class-Method-Modifiers-Fast
|
%define cpan_name Class-Method-Modifiers-Fast
|
||||||
Summary: provides Moose-like method modifiers
|
Summary: Provides Moose-Like Method Modifiers
|
||||||
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/Class-Method-Modifiers-Fast/
|
Url: http://search.cpan.org/dist/Class-Method-Modifiers-Fast/
|
||||||
Source: http://www.cpan.org/authors/id/K/KI/KITANO/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/K/KI/KITANO/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Data::Util) >= 0.55
|
BuildRequires: perl(Data::Util) >= 0.55
|
||||||
BuildRequires: perl(Sub::Uplevel)
|
|
||||||
Requires: perl(Data::Util) >= 0.55
|
Requires: perl(Data::Util) >= 0.55
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
@@ -47,6 +47,9 @@ the particular modifiers work.
|
|||||||
|
|
||||||
%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
|
||||||
|
Reference in New Issue
Block a user