Name: perl-DBIx-Introspector Version: 0.001005 Release: 9%{?dist} Summary: Detect what database you are connected to License: GPL+ or Artistic URL: https://metacpan.org/release/DBIx-Introspector Source0: https://cpan.metacpan.org/authors/id/F/FR/FREW/DBIx-Introspector-%{version}.tar.gz BuildArch: noarch # build requirements BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # runtime requirements BuildRequires: perl(DBI::Const::GetInfoType) >= 1.628 BuildRequires: perl(Moo) >= 1.003001 # test requirements BuildRequires: perl(DBD::SQLite) BuildRequires: perl(DBI) >= 1.628 BuildRequires: perl(Test::More) >= 0.99 BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Roo) >= 1.002 Requires: perl(DBI::Const::GetInfoType) >= 1.628 Provides: perl(DBIx::Introspector::Driver) = %{version} Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) %{?perl_default_filter} %description DBIx::Introspector is a module factored out of the DBIx::Class database detection code. Most code that needs to detect which database it is connected to assumes that there is a one-to-one mapping from database drivers to database engines. Unfortunately reality is rarely that simple. For instance, DBD::ODBC is typically used to connect to SQL Server, but ODBC can be used to connect to PostgreSQL, MySQL, and Oracle. Additionally, while ODBC is the most common way to connect to SQL Server, it is not the only option, as DBD::ADO can also be used. %prep %setup -q -n DBIx-Introspector-%{version} %build /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check %{make_build} test %files %doc Changes README %license LICENSE %{perl_vendorlib}/DBIx* %{_mandir}/man3/DBIx* %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.001005-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.001005-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.001005-7 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.001005-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.001005-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.001005-4 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.001005-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Aug 07 2019 Emmanuel Seyman - 0.001005-2 - Take into account review comments (#1738398) * Thu Jul 25 2019 Emmanuel Seyman 0.001005-1 - Initial specfile, based on the one autogenerated by cpanspec 1.78.