epel9
Jitka Plesnikova 8 years ago
parent c49a35a1d3
commit 8f9a718d32

@ -1,18 +1,16 @@
Name: perl-SQL-Abstract Name: perl-SQL-Abstract
Version: 1.81 Version: 1.84
Release: 10%{?dist} Release: 1%{?dist}
Summary: Generate SQL from Perl data structures Summary: Generate SQL from Perl data structures
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/SQL-Abstract URL: http://search.cpan.org/dist/SQL-Abstract
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/SQL-Abstract-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/SQL-Abstract-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(inc::Module::Install) >= 1.06 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Module::Install::Makefile)
BuildRequires: perl(Module::Install::Metadata)
BuildRequires: perl(Module::Install::WriteAll)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Run-time: # Run-time:
@ -27,15 +25,11 @@ BuildRequires: perl(DBIx::Class::Storage::Statistics)
BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(Hash::Merge) >= 0.12 BuildRequires: perl(Hash::Merge) >= 0.12
BuildRequires: perl(List::Util) BuildRequires: perl(List::Util)
BuildRequires: perl(Method::Generate::Accessor) BuildRequires: perl(Moo) >= 2.000001
BuildRequires: perl(Method::Generate::Constructor)
BuildRequires: perl(Moo) >= 1.004002
BuildRequires: perl(Moo::Object)
BuildRequires: perl(mro) BuildRequires: perl(mro)
# MRO::Compat 0.12 not needed since perl 5.9 # MRO::Compat 0.12 not needed since perl 5.9
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Sub::Defer) BuildRequires: perl(Sub::Quote) >= 2.000001
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Builder::Module) BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(Test::Deep) >= 0.101 BuildRequires: perl(Test::Deep) >= 0.101
@ -56,20 +50,17 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
Requires: perl(Data::Dumper) Requires: perl(Data::Dumper)
Requires: perl(Exporter) >= 5.57 Requires: perl(Exporter) >= 5.57
Requires: perl(Hash::Merge) >= 0.12 Requires: perl(Hash::Merge) >= 0.12
Requires: perl(Method::Generate::Accessor) Requires: perl(Moo) >= 2.000001
Requires: perl(Method::Generate::Constructor)
Requires: perl(Moo) >= 1.004002
Requires: perl(Moo::Object)
Requires: perl(mro) Requires: perl(mro)
# MRO::Compat 0.12 not needed since perl 5.9 # MRO::Compat 0.12 not needed since perl 5.9
Requires: perl(Sub::Defer) Requires: perl(Sub::Quote) >= 2.000001
Requires: perl(Sub::Quote)
Requires: perl(Test::Deep) >= 0.101 Requires: perl(Test::Deep) >= 0.101
Requires: perl(Text::Balanced) >= 2.00 Requires: perl(Text::Balanced) >= 2.00
%{?perl_default_filter} %{?perl_default_filter}
# Remove under-speciefed dependencies # Remove under-speciefed dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Exporter|Test::Deep)\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Exporter|Test::Deep)\\)$
%global __requires_exclude %__requires_exclude|^perl\\((Moo|Sub::Quote)\\)$
%description %description
%{summary}. %{summary}.
@ -86,24 +77,20 @@ License: GPL+ or Artistic
%prep %prep
%setup -q -n SQL-Abstract-%{version} %setup -q -n SQL-Abstract-%{version}
# Remove bundled modules
rm -r ./inc
sed -i -e '/^inc\//d' MANIFEST
%build %build
PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make make
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
make test make test
%files %files
%doc Changes %doc Changes README
# %{_bindir}/format-sql # %{_bindir}/format-sql
%{perl_vendorlib}/SQL/ %{perl_vendorlib}/SQL/
%{_mandir}/man3/SQL::Abstract.3pm* %{_mandir}/man3/SQL::Abstract.3pm*
@ -115,6 +102,9 @@ make test
%{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm* %{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm*
%changelog %changelog
* Tue Apr 11 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.84-1
- 1.84 bump
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.81-10 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.81-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
fbcd82c4e4bc5694082cefb4e34cb572 SQL-Abstract-1.81.tar.gz SHA512 (SQL-Abstract-1.84.tar.gz) = 2d41ca76cc50dcf85e40b6585b3036ae62801ce78b64cc3b6a6471540901bfacdbfe2f76e68fdea2d1caa509f57216d4bb4f214cee7008380d5f60643e1a3a6b

Loading…
Cancel
Save