|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
Name: perl-SQL-Translator
|
|
|
|
|
Summary: Manipulate structured data definitions (SQL and more)
|
|
|
|
|
Version: 0.11006
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.11010
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPLv2
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/SQL-Translator-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/J/JR/JROBINSON/SQL-Translator-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/SQL-Translator/
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@ -30,8 +29,10 @@ BuildRequires: perl(IO::File)
|
|
|
|
|
BuildRequires: perl(IO::Scalar) >= 2.11
|
|
|
|
|
BuildRequires: perl(Log::Log4perl)
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
BuildRequires: perl(Moo) >= 0.009007
|
|
|
|
|
BuildRequires: perl(Parse::RecDescent) >= 1.963
|
|
|
|
|
BuildRequires: perl(Pod::Usage)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(Spreadsheet::ParseExcel)
|
|
|
|
|
BuildRequires: perl(Template)
|
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
@ -44,19 +45,13 @@ BuildRequires: perl(XML::Writer) >= 0.5
|
|
|
|
|
BuildRequires: perl(XML::XPath)
|
|
|
|
|
BuildRequires: perl(YAML) >= 0.66
|
|
|
|
|
|
|
|
|
|
Requires: perl(Carp::Clan)
|
|
|
|
|
Requires: perl(Class::Accessor::Fast)
|
|
|
|
|
Requires: perl(Class::Base)
|
|
|
|
|
Requires: perl(Class::Data::Inheritable) >= 0.02
|
|
|
|
|
Requires: perl(Class::MakeMethods)
|
|
|
|
|
Requires: perl(DBI)
|
|
|
|
|
Requires: perl(Digest::SHA1) >= 2
|
|
|
|
|
Requires: perl(File::ShareDir) >= 1
|
|
|
|
|
Requires: perl(File::Spec)
|
|
|
|
|
Requires: perl(IO::Dir)
|
|
|
|
|
Requires: perl(IO::Scalar) >= 2.11
|
|
|
|
|
Requires: perl(Parse::RecDescent) >= 1.963
|
|
|
|
|
Requires: perl(Pod::Usage)
|
|
|
|
|
Requires: perl(XML::Writer) >= 0.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -93,8 +88,6 @@ perl -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' t/*.t
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
@ -106,17 +99,18 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc AUTHORS BUGS Changes LICENSE README
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man[13]/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Oct 12 2011 Iain Arnell <iarnell@gmail.com> 0.11010-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
- remove unnecessary explicit requires
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Iain Arnell <iarnell@gmail.com> 0.11006-6
|
|
|
|
|
- update filtering for rpm 4.9
|
|
|
|
|
|
|
|
|
|