Lars Vogdt
2020-04-20 16:06:33 +00:00
committed by Git OBS Bridge
parent 7aa1bf5bfe
commit 1049a68c24
2 changed files with 14 additions and 9 deletions

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Apr 20 16:03:18 UTC 2020 - lars@linux-schulserver.de
initial package 1.00

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Class-DBI-mysql
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# 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/
#
@@ -21,10 +21,10 @@ Version: 1.00
Release: 0
%define cpan_name Class-DBI-mysql
Summary: Extensions to Class::DBI for MySQL
License: This program is free software and you can redistribute it and/or modify it under the terms of the GNU General Public License and either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY and without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
License: GPL-1.0-or-later OR Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-DBI-mysql/
Source0: http://www.cpan.org/authors/id/T/TM/TMTM/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TM/TMTM/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -45,11 +45,12 @@ base class, use this instead.
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
#check
# disabled, as it needs a running mysql server
# make test
%install
%perl_make_install