Accepting request 726657 from devel:languages:perl:autoupdate
OBS-URL: https://build.opensuse.org/request/show/726657 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-PostgreSQL?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
8192bf3e98
commit
241d05bbfe
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:30e04d671e78b299f6e03ca6fc2b948a114fa29e73dea420c57045711a74f4dc
|
|
||||||
size 31171
|
|
||||||
3
Test-PostgreSQL-1.27.tar.gz
Normal file
3
Test-PostgreSQL-1.27.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b1bd231693100cc40905fb0ba3173173201621de9c8301f21c5b593b0a46f907
|
||||||
|
size 19079
|
||||||
@@ -12,8 +12,8 @@
|
|||||||
# bar.patch:
|
# bar.patch:
|
||||||
#preamble: |-
|
#preamble: |-
|
||||||
# BuildRequires: gcc-c++
|
# BuildRequires: gcc-c++
|
||||||
post_prep: |-
|
#post_prep: |-
|
||||||
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
# sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
||||||
#post_build: |-
|
#post_build: |-
|
||||||
# rm unused.files
|
# rm unused.files
|
||||||
#post_install: |-
|
#post_install: |-
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 27 21:36:08 CEST 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Remove post_prep step to fix Makefile.PL; the module is using
|
||||||
|
Build.PL now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 3 07:38:19 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- updated to 1.27
|
||||||
|
see /usr/share/doc/packages/perl-Test-PostgreSQL/Changes
|
||||||
|
|
||||||
|
1.27 2018-10-17T02:06:08Z
|
||||||
|
- Use pg_version attribute to better handle -b and -f psql switches
|
||||||
|
depending on installed PostgreSQL version
|
||||||
|
- Updated docs to reflect the changes
|
||||||
|
- Tests are passing with PostgreSQL 9.3+
|
||||||
|
- pg_version attribute holds PostgreSQL version detected at startup
|
||||||
|
- Improved test diagnostics
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 6 06:35:56 UTC 2018 - coolo@suse.com
|
Fri Apr 6 06:35:56 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Test-PostgreSQL
|
# spec file for package perl-Test-PostgreSQL
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,18 +12,18 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Test-PostgreSQL
|
Name: perl-Test-PostgreSQL
|
||||||
Version: 1.26
|
Version: 1.27
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Test-PostgreSQL
|
%define cpan_name Test-PostgreSQL
|
||||||
Summary: PostgreSQL runner for tests
|
Summary: PostgreSQL runner for tests
|
||||||
License: Artistic-2.0
|
License: Artistic-2.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Test-PostgreSQL/
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/T/TJ/TJC/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/T/TJ/TJC/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -34,6 +34,7 @@ BuildRequires: perl(DBD::Pg)
|
|||||||
BuildRequires: perl(DBI)
|
BuildRequires: perl(DBI)
|
||||||
BuildRequires: perl(File::Which)
|
BuildRequires: perl(File::Which)
|
||||||
BuildRequires: perl(Function::Parameters)
|
BuildRequires: perl(Function::Parameters)
|
||||||
|
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||||
BuildRequires: perl(Moo)
|
BuildRequires: perl(Moo)
|
||||||
BuildRequires: perl(Test::SharedFork) >= 0.06
|
BuildRequires: perl(Test::SharedFork) >= 0.06
|
||||||
BuildRequires: perl(Tie::Hash::Method)
|
BuildRequires: perl(Tie::Hash::Method)
|
||||||
@@ -58,24 +59,21 @@ author several years ago.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
# MANUAL BEGIN
|
|
||||||
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
|
||||||
# MANUAL END
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Build.PL --installdirs=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
./Build build --flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
%perl_process_packlist
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README.md
|
%doc Changes minil.toml README.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user