SHA256
8
0
forked from pool/perl-URI-db

Accepting request 1173970 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1173970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-URI-db?expand=0&rev=6
This commit is contained in:
2024-05-15 19:26:15 +00:00
committed by Git OBS Bridge
4 changed files with 78 additions and 11 deletions

View File

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

3
URI-db-0.22.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Apr 5 03:08:39 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- 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 <timueller+perl@suse.de>

View File

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