Accepting request 530787 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/530787 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Term-Encoding?expand=0&rev=3
This commit is contained in:
commit
9686ffae82
3
cpanspec.yml
Normal file
3
cpanspec.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
post_prep:
|
||||||
|
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 3 08:21:08 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- patch the Makefile to build with perl 5.26
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 28 11:20:21 UTC 2013 - coolo@suse.com
|
Sat Sep 28 11:20:21 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Term-Encoding
|
# spec file for package perl-Term-Encoding
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 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
|
||||||
@ -24,18 +24,12 @@ Summary: Detect encoding of the current terminal
|
|||||||
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/Term-Encoding/
|
Url: http://search.cpan.org/dist/Term-Encoding/
|
||||||
Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{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(inc::Module::Install)
|
|
||||||
#BuildRequires: perl(LWP::Simple)
|
|
||||||
#BuildRequires: perl(Module::Build)
|
|
||||||
#BuildRequires: perl(Module::Install::Base)
|
|
||||||
#BuildRequires: perl(Term::Encoding)
|
|
||||||
#BuildRequires: perl(Win32::Console)
|
|
||||||
#BuildRequires: perl(YAML)
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,6 +38,9 @@ terminal expects, in various ways.
|
|||||||
|
|
||||||
%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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user