diff --git a/Test-PostgreSQL-1.26.tar.gz b/Test-PostgreSQL-1.26.tar.gz deleted file mode 100644 index 2e8ca45..0000000 --- a/Test-PostgreSQL-1.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30e04d671e78b299f6e03ca6fc2b948a114fa29e73dea420c57045711a74f4dc -size 31171 diff --git a/Test-PostgreSQL-1.27.tar.gz b/Test-PostgreSQL-1.27.tar.gz new file mode 100644 index 0000000..7e67e70 --- /dev/null +++ b/Test-PostgreSQL-1.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1bd231693100cc40905fb0ba3173173201621de9c8301f21c5b593b0a46f907 +size 19079 diff --git a/cpanspec.yml b/cpanspec.yml index 4f598d8..5ee506e 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -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: |- diff --git a/perl-Test-PostgreSQL.changes b/perl-Test-PostgreSQL.changes index 703bbe4..333b9b9 100644 --- a/perl-Test-PostgreSQL.changes +++ b/perl-Test-PostgreSQL.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Aug 27 21:36:08 CEST 2019 - Tina Mueller + +- 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 + +- 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 diff --git a/perl-Test-PostgreSQL.spec b/perl-Test-PostgreSQL.spec index c70288e..29173a0 100644 --- a/perl-Test-PostgreSQL.spec +++ b/perl-Test-PostgreSQL.spec @@ -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