2024-08-03 17:28:25 +00:00
committed by Git OBS Bridge
parent e0752980b5
commit 4a7e485967
2 changed files with 12 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:234faccf9d1d67ac6fcce3bea30433d82ca0af7a37bcab0db543fe07f1ae6864
size 20220
oid sha256:18acf7e589ca4cca9cde47609b536c9d823c8562d1aa5210c168e5eb1b8e4f9e
size 20230

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-PostgreSQL
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,14 @@
%define cpan_name Test-PostgreSQL
Name: perl-Test-PostgreSQL
Version: 1.29
Version: 1.290.0
Release: 0
# 1.29 -> normalize -> 1.290.0
%define cpan_version 1.29
License: Artistic-2.0
Summary: PostgreSQL runner for tests
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NO/NOHUHU/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/T/TJ/TJC/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
@@ -32,6 +34,7 @@ BuildRequires: perl(DBD::Pg)
BuildRequires: perl(DBI)
BuildRequires: perl(File::Which)
BuildRequires: perl(Function::Parameters)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Moo)
BuildRequires: perl(Test::SharedFork) >= 0.06
@@ -46,6 +49,8 @@ Requires: perl(Moo)
Requires: perl(Tie::Hash::Method)
Requires: perl(Try::Tiny)
Requires: perl(Types::Standard)
Provides: perl(Test::PostgreSQL) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -56,7 +61,7 @@ This module is a fork of Test::postgresql, which was abandoned by its
author several years ago.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL --installdirs=vendor
@@ -70,7 +75,7 @@ perl Build.PL --installdirs=vendor
%perl_gen_filelist
%files -f %{name}.files
%doc Changes minil.toml README.md
%doc Changes README.md
%license LICENSE
%changelog