Accepting request 328806 from devel:languages:perl:autoupdate

- drop upstreamed bnc658792_pod_name_install.diff

- updated to 4.032
   see /usr/share/doc/packages/perl-DBD-mysql/ChangeLog

OBS-URL: https://build.opensuse.org/request/show/328806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=31
This commit is contained in:
Stephan Kulow 2015-09-03 13:34:15 +00:00 committed by Git OBS Bridge
parent ebfa0ad8fe
commit 4a8a886777
6 changed files with 55 additions and 45 deletions

View File

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

3
DBD-mysql-4.032.tar.gz Normal file
View File

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

View File

@ -1,16 +0,0 @@
---
lib/DBD/mysql/INSTALL.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: DBD-mysql-4.018/lib/DBD/mysql/INSTALL.pod
===================================================================
--- DBD-mysql-4.018.orig/lib/DBD/mysql/INSTALL.pod
+++ DBD-mysql-4.018/lib/DBD/mysql/INSTALL.pod
@@ -1,6 +1,6 @@
=head1 NAME
-INSTALL - How to install and configure DBD::mysql
+DBD::mysql::INSTALL - How to install and configure DBD::mysql
=head1 SYNOPSIS

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
description_paragraphs: 1
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: libmysqlclient-devel
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Sep 3 13:15:15 UTC 2015 - bwiedemann@suse.com
- drop upstreamed bnc658792_pod_name_install.diff
-------------------------------------------------------------------
Thu Sep 3 08:33:43 UTC 2015 - coolo@suse.com
- updated to 4.032
see /usr/share/doc/packages/perl-DBD-mysql/ChangeLog
-------------------------------------------------------------------
Sat Apr 28 18:24:10 UTC 2012 - pascal.bleser@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-DBD-mysql
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,45 +17,40 @@
Name: perl-DBD-mysql
Version: 4.032
Release: 0
%define cpan_name DBD-mysql
Summary: MySQL driver for the Perl5 Database Interface (DBI)
License: GPL-1.0+ or Artistic-1.0
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Version: 4.021
Release: 0
Url: http://search.cpan.org/dist/DBD-mysql/
Source: http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/%{cpan_name}-%{version}.tar.gz
Patch1: bnc658792_pod_name_install.diff
Source0: http://www.cpan.org/authors/id/C/CA/CAPTTOFU/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# quilt does not grock that
%{perl_requires}
BuildRequires: mysql-devel
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DBI) >= 1.08
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Simple) >= 0.90
Requires: perl(DBI) >= 1.08
Requires: perl(Data::Dumper)
%{perl_requires}
# MANUAL BEGIN
BuildRequires: libmysqlclient-devel
# MANUAL END
%description
DBD::mysql is the Perl5 Database Interface driver for the MySQL database.
*DBD::mysql* is the Perl5 Database Interface driver for the MySQL database.
In other words: DBD::mysql is an interface between the Perl programming
language and the MySQL programming API that comes with the MySQL relational
database management system. Most functions provided by this programming API
are supported. Some rarely used functions are missing, mainly because noone
ever requested them. :-)
are supported. Some rarely used functions are missing, mainly because
no-one ever requested them. :-)
%prep
%setup -q -n %{cpan_name}-%{version}
# rpmlint: executable-docs,
# spurious-executable-perm
# script-without-shebang
find -type f -exec %{__chmod} 0644 {} \;
%patch1 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --cflags="-I%{_includedir}/mysql $RPM_OPT_FLAGS"
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
@ -66,11 +61,8 @@ find -type f -exec %{__chmod} 0644 {} \;
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc ChangeLog eg INSTALL.html README TODO
%defattr(-,root,root,755)
%doc ChangeLog LICENSE Makefile.PL.embedded myld TODO
%changelog