forked from pool/perl-SQL-Abstract
Accepting request 866761 from devel:languages:perl:autoupdate
- updated to 2.000001 see /usr/share/doc/packages/perl-SQL-Abstract/Changes 2.000001 - 2021-01-23 - Remove Module::Runtime requirement 2.000000 - 2021-01-21 - Collapse custom join conditions back to something DBIC might understand 1.90_03 - 2019-10-13 - Add proof of concept DBIx::Class::SQLMaker::Role::SQLA2Passthrough - _where_field_IN/BETWEEN are documented as subclassable; feature restored 1.90_02 - 2019-10-12 - fix DBIC ident op expander compat wrapper to handle call as unop 1.90_01 - 2019-10-09 - Complete overhaul of the internals, see the SQL::Abstract::Reference docs to understand the new implementation's affordances. OBS-URL: https://build.opensuse.org/request/show/866761 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Abstract?expand=0&rev=29
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-SQL-Abstract
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,20 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-SQL-Abstract
|
||||
Version: 1.87
|
||||
Release: 0
|
||||
%define cpan_name SQL-Abstract
|
||||
Name: perl-SQL-Abstract
|
||||
Version: 2.000001
|
||||
Release: 0
|
||||
Summary: Generate SQL from Perl data structures
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSTROUT/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Data::Dumper::Concise)
|
||||
BuildRequires: perl(Hash::Merge) >= 0.12
|
||||
BuildRequires: perl(MRO::Compat) >= 0.12
|
||||
BuildRequires: perl(Moo) >= 2.000001
|
||||
@@ -92,12 +91,12 @@ These are then used directly in your DBI code:
|
||||
$sth->execute(@bind);
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -108,7 +107,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user