8
0
Stephan Kulow
2017-10-12 05:44:40 +00:00
committed by Git OBS Bridge
parent d0faff79e0
commit 9fce14f9a5
3 changed files with 16 additions and 4 deletions

4
cpanspec.yml Normal file
View File

@@ -0,0 +1,4 @@
---
post_prep: |-
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL

View File

@@ -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

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,17 +20,17 @@ Name: perl-Class-Method-Modifiers-Fast
Version: 0.041
Release: 0
%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+
Group: Development/Libraries/Perl
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Util) >= 0.55
BuildRequires: perl(Sub::Uplevel)
Requires: perl(Data::Util) >= 0.55
%{perl_requires}
@@ -47,6 +47,9 @@ the particular modifiers work.
%prep
%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
%{__perl} Makefile.PL INSTALLDIRS=vendor