|
|
|
@ -3,12 +3,13 @@ Summary: Manipulate structured data definitions (SQL and more)
|
|
|
|
|
Version: 0.11021
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/SQL-Translator-%{version}.tar.gz
|
|
|
|
|
# Adapt to changes in JSON-PP-0.92, bug #1455782, CPAN RT#121901
|
|
|
|
|
Patch0: SQL-Translator-0.11021-Adapt-tests-to-JSON-PP-2.92.patch
|
|
|
|
|
URL: http://search.cpan.org/dist/SQL-Translator/
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
@ -29,6 +30,7 @@ BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
|
|
|
|
# SQL::Translator::Parser::XML is used from lib
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -153,7 +155,6 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|