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:
Stephan Kulow
2019-08-28 06:29:49 +00:00
committed by Git OBS Bridge
parent 8192bf3e98
commit 241d05bbfe
5 changed files with 36 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30e04d671e78b299f6e03ca6fc2b948a114fa29e73dea420c57045711a74f4dc
size 31171

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1bd231693100cc40905fb0ba3173173201621de9c8301f21c5b593b0a46f907
size 19079

View File

@@ -12,8 +12,8 @@
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
post_prep: |-
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
#post_prep: |-
# sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-

View File

@@ -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

View File

@@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Version: 1.26
Version: 1.27
Release: 0
%define cpan_name Test-PostgreSQL
Summary: PostgreSQL runner for tests
License: Artistic-2.0
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
Source1: cpanspec.yml
BuildArch: noarch
@@ -34,6 +34,7 @@ BuildRequires: perl(DBD::Pg)
BuildRequires: perl(DBI)
BuildRequires: perl(File::Which)
BuildRequires: perl(Function::Parameters)
BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Moo)
BuildRequires: perl(Test::SharedFork) >= 0.06
BuildRequires: perl(Tie::Hash::Method)
@@ -58,24 +59,21 @@ author several years ago.
%prep
%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
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README.md
%doc Changes minil.toml README.md
%license LICENSE
%changelog