Modernize spec file

epel9
Petr Písař 8 years ago
parent 99ba8b9256
commit 9b077b9aec

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

Loading…
Cancel
Save