From 99b7d7234c154c2be29e70a4743ba6f7a2e50d4f6e090fb1c1f03f3860dd74db Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 14 May 2024 11:55:51 +0000 Subject: [PATCH] Accepting request 1173722 from devel:languages:perl:autoupdate - updated to 0.22 see /usr/share/doc/packages/perl-URI-db/Changes 0.22 2024-04-05T01:38:17Z - Changed Oracle database DBI parameter generation as follows: - If there is not a hostname or port, just use the raw SID or service name as the database name: `dbi:Oracle:$name`. This is way 1 in the DBD::Oracle documentation - If there is a hostname or port, use the EZCONNECT syntax. This is way 3 in the DBD::Oracle documentation. Use of a port without a host name may not be valid, but it seems most prudent to build an EZCONNECT that includes the port in this context and to let Oracle or DBD::Oracle reject it if appropriate. Thanks again to @vectro for the and diligence, testing, and patience with this issue (#22). OBS-URL: https://build.opensuse.org/request/show/1173722 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-URI-db?expand=0&rev=13 --- URI-db-0.21.tar.gz | 3 --- URI-db-0.22.tar.gz | 3 +++ perl-URI-db.changes | 19 ++++++++++++++ perl-URI-db.spec | 64 +++++++++++++++++++++++++++++++++++++++------ 4 files changed, 78 insertions(+), 11 deletions(-) delete mode 100644 URI-db-0.21.tar.gz create mode 100644 URI-db-0.22.tar.gz diff --git a/URI-db-0.21.tar.gz b/URI-db-0.21.tar.gz deleted file mode 100644 index 26306dd..0000000 --- a/URI-db-0.21.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6433dc1517a907e189912a4c76b5dfc76332e3fd7fc8b38a137e4019c780b34 -size 24053 diff --git a/URI-db-0.22.tar.gz b/URI-db-0.22.tar.gz new file mode 100644 index 0000000..3d0ad2a --- /dev/null +++ b/URI-db-0.22.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ff437591022b440716676526cca0a729b465f606bdd9e1d0a60561d6fdd458f +size 24904 diff --git a/perl-URI-db.changes b/perl-URI-db.changes index 06212d2..3c9f7b0 100644 --- a/perl-URI-db.changes +++ b/perl-URI-db.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Apr 5 03:08:39 UTC 2024 - Tina Müller + +- updated to 0.22 + see /usr/share/doc/packages/perl-URI-db/Changes + + 0.22 2024-04-05T01:38:17Z + - Changed Oracle database DBI parameter generation as follows: + - If there is not a hostname or port, just use the raw SID or service + name as the database name: `dbi:Oracle:$name`. This is way 1 in the + DBD::Oracle documentation + - If there is a hostname or port, use the EZCONNECT syntax. This is + way 3 in the DBD::Oracle documentation. + Use of a port without a host name may not be valid, but it seems most + prudent to build an EZCONNECT that includes the port in this context + and to let Oracle or DBD::Oracle reject it if appropriate. Thanks + again to @vectro for the and diligence, testing, and patience with + this issue (#22). + ------------------------------------------------------------------- Wed May 10 03:09:51 UTC 2023 - Tina Müller diff --git a/perl-URI-db.spec b/perl-URI-db.spec index 4077962..b93046a 100644 --- a/perl-URI-db.spec +++ b/perl-URI-db.spec @@ -1,7 +1,7 @@ # # spec file for package perl-URI-db # -# Copyright (c) 2023 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,39 +18,87 @@ %define cpan_name URI-db Name: perl-URI-db -Version: 0.21 +Version: 0.220.0 Release: 0 +# 0.22 -> normalize -> 0.220.0 +%define cpan_version 0.22 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Database URIs URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.300000 +BuildRequires: perl(Module::Build) >= 0.30 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(URI) >= 1.40 BuildRequires: perl(URI::Nested) >= 0.10 Requires: perl(URI) >= 1.40 Requires: perl(URI::Nested) >= 0.10 +Provides: perl(URI::cassandra) = %{version} +Provides: perl(URI::cockroach) = %{version} +Provides: perl(URI::cockroachdb) = %{version} +Provides: perl(URI::couch) = %{version} +Provides: perl(URI::couchdb) = %{version} +Provides: perl(URI::cubrid) = %{version} +Provides: perl(URI::db) = %{version} +Provides: perl(URI::db2) = %{version} +Provides: perl(URI::derby) = %{version} +Provides: perl(URI::exasol) = %{version} +Provides: perl(URI::firebird) = %{version} +Provides: perl(URI::hive) = %{version} +Provides: perl(URI::impala) = %{version} +Provides: perl(URI::informix) = %{version} +Provides: perl(URI::ingres) = %{version} +Provides: perl(URI::interbase) = %{version} +Provides: perl(URI::ldapdb) = %{version} +Provides: perl(URI::maria) = %{version} +Provides: perl(URI::mariadb) = %{version} +Provides: perl(URI::max) = %{version} +Provides: perl(URI::maxdb) = %{version} +Provides: perl(URI::monet) = %{version} +Provides: perl(URI::monetdb) = %{version} +Provides: perl(URI::mongo) = %{version} +Provides: perl(URI::mongodb) = %{version} +Provides: perl(URI::mssql) = %{version} +Provides: perl(URI::mysql) = %{version} +Provides: perl(URI::oracle) = %{version} +Provides: perl(URI::pg) = %{version} +Provides: perl(URI::pgsql) = %{version} +Provides: perl(URI::pgxc) = %{version} +Provides: perl(URI::postgres) = %{version} +Provides: perl(URI::postgresql) = %{version} +Provides: perl(URI::postgresxc) = %{version} +Provides: perl(URI::redshift) = %{version} +Provides: perl(URI::snowflake) = %{version} +Provides: perl(URI::sqlite) = %{version} +Provides: perl(URI::sqlite3) = %{version} +Provides: perl(URI::sqlserver) = %{version} +Provides: perl(URI::sybase) = %{version} +Provides: perl(URI::teradata) = %{version} +Provides: perl(URI::unify) = %{version} +Provides: perl(URI::vertica) = %{version} +Provides: perl(URI::yugabyte) = %{version} +Provides: perl(URI::yugabytedb) = %{version} +%undefine __perllib_provides %{perl_requires} %description Database URIs %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build -perl Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files