forked from pool/perl-SQL-Translator
Accepting request 530800 from devel:languages:perl:tobefixed
- patch the Makefile to build with perl 5.26 OBS-URL: https://build.opensuse.org/request/show/530800 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Translator?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
dc7ec2034d
commit
acf3c95368
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
|
||||||
|
license: (Artistic-1.0 or GPL-1.0+) and GPL-2.0
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 3 08:20:30 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- patch the Makefile to build with perl 5.26
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 7 16:23:26 UTC 2015 - coolo@suse.com
|
Sat Feb 7 16:23:26 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-SQL-Translator
|
# spec file for package perl-SQL-Translator
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -19,12 +19,14 @@
|
|||||||
Name: perl-SQL-Translator
|
Name: perl-SQL-Translator
|
||||||
Version: 0.11021
|
Version: 0.11021
|
||||||
Release: 0
|
Release: 0
|
||||||
|
#Upstream: Artistic-1.0 or GPL-1.0+
|
||||||
%define cpan_name SQL-Translator
|
%define cpan_name SQL-Translator
|
||||||
Summary: Manipulate structured data definitions (SQL and more)
|
Summary: Manipulate Structured Data Definitions (Sql and More)
|
||||||
License: (Artistic-1.0 or GPL-1.0+) and GPL-2.0
|
License: (Artistic-1.0 or GPL-1.0+) and GPL-2.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/SQL-Translator/
|
Url: http://search.cpan.org/dist/SQL-Translator/
|
||||||
Source: http://www.cpan.org/authors/id/I/IL/ILMARI/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/%{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
|
||||||
@@ -40,7 +42,7 @@ BuildRequires: perl(Package::Variant) >= 1.001001
|
|||||||
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
||||||
BuildRequires: perl(Sub::Quote)
|
BuildRequires: perl(Sub::Quote)
|
||||||
BuildRequires: perl(Test::Differences)
|
BuildRequires: perl(Test::Differences)
|
||||||
BuildRequires: perl(Test::Exception) >= 0.31
|
BuildRequires: perl(Test::Exception) >= 0.310000
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Try::Tiny) >= 0.04
|
BuildRequires: perl(Try::Tiny) >= 0.04
|
||||||
BuildRequires: perl(XML::Writer) >= 0.500
|
BuildRequires: perl(XML::Writer) >= 0.500
|
||||||
@@ -63,13 +65,11 @@ Recommends: perl(Template) >= 2.20
|
|||||||
Recommends: perl(Text::RecordParser) >= 0.02
|
Recommends: perl(Text::RecordParser) >= 0.02
|
||||||
Recommends: perl(XML::LibXML) >= 1.69
|
Recommends: perl(XML::LibXML) >= 1.69
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL
|
|
||||||
Requires: perl(YAML) >= 0.66
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This documentation covers the API for SQL::Translator. For a more general
|
This documentation covers the API for SQL::Translator. For a more general
|
||||||
discussion of how to use the modules and scripts, please see the
|
discussion of how to use the modules and scripts, please see
|
||||||
SQL::Translator::Manual manpage.
|
SQL::Translator::Manual.
|
||||||
|
|
||||||
SQL::Translator is a group of Perl modules that converts vendor-specific
|
SQL::Translator is a group of Perl modules that converts vendor-specific
|
||||||
SQL table definitions into other formats, such as other vendor-specific
|
SQL table definitions into other formats, such as other vendor-specific
|
||||||
@@ -85,7 +85,10 @@ manipulation of data (INSERT, UPDATE, DELETE).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
|
# 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