8
0

Accepting request 876188 from home:tinita:branches:devel:languages:perl:CPAN-S

- initial package 1.0
 * created by cpanspec 1.80.01

OBS-URL: https://build.opensuse.org/request/show/876188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Abstract-Pg?expand=0&rev=1
This commit is contained in:
2021-03-02 10:57:48 +00:00
committed by Git OBS Bridge
commit 3f0e72fd41
6 changed files with 125 additions and 0 deletions

58
perl-SQL-Abstract-Pg.spec Normal file
View File

@@ -0,0 +1,58 @@
#
# spec file for package perl-SQL-Abstract-Pg
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name SQL-Abstract-Pg
Name: perl-SQL-Abstract-Pg
Version: 1.0
Release: 0
Summary: PostgreSQL features for SQL::Abstract
License: Artistic-2.0
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(SQL::Abstract) >= 2.0
Requires: perl(SQL::Abstract) >= 2.0
%{perl_requires}
%description
SQL::Abstract::Pg extends SQL::Abstract with a few PostgreSQL features used
by Mojo::Pg.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README.md
%license LICENSE
%changelog