forked from pool/perl-DBD-mysql
Accepting request 655736 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/655736 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=68
This commit is contained in:
@@ -12,21 +12,21 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name DBD-mysql
|
||||
Name: perl-DBD-mysql
|
||||
Version: 4.048
|
||||
Version: 4.049
|
||||
Release: 0
|
||||
%define cpan_name DBD-mysql
|
||||
Summary: MySQL driver for the Perl5 Database Interface (DBI)
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/DBD-mysql
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: perl-DBD-mysql-MARIADB_BASE_VERSION.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(DBI) >= 1.609
|
||||
@@ -37,7 +37,6 @@ Requires: perl(DBI) >= 1.609
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: libmariadb-devel
|
||||
BuildRequires: zlib-devel
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
@@ -51,14 +50,13 @@ no-one ever requested them. :-)
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
|
Reference in New Issue
Block a user