Accepting request 38075 from devel:languages:perl
checked in (request 38075) OBS-URL: https://build.opensuse.org/request/show/38075 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=10
This commit is contained in:
parent
53949d75aa
commit
bfcb5be0ce
3
DBD-mysql-4.013.tar.bz2
Normal file
3
DBD-mysql-4.013.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a5eabdea3dfcdab29415616feb5bb990896b4c6966a240d6b3ca45fb2c69add2
|
||||||
|
size 105286
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:00698dfce13b9107eff7e9adc1a66187569a3f908b514c2ed0604dfe829601f2
|
|
||||||
size 107378
|
|
@ -1,28 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Apr 16 20:48:04 UTC 2010 - chris@computersalat.de
|
|
||||||
|
|
||||||
- update to 4.014
|
|
||||||
* BUG 30033 Fixed handling of comments to allow comments that
|
|
||||||
contain characters that might otherwise cause placeholder
|
|
||||||
detection to not work properly
|
|
||||||
* BUG 53844, Fix for memory leak in stats. (Gregory Burmistrov)
|
|
||||||
* BUG 49719, Fix for handling of NULLs in prepared statements
|
|
||||||
(Gert Pache)
|
|
||||||
* BUG 55627, Fix for testing failure due to strict mode (Yves)
|
|
||||||
* BUG 51784, Fix for mysqladmin on Windows in Makefile
|
|
||||||
(Zeeshan Muhammad)
|
|
||||||
* BUG 41630, Typo in Makefile
|
|
||||||
* Had to define true and false in dbdimp.h. Didn't work out of
|
|
||||||
the box on Linux
|
|
||||||
- cleanup spec
|
|
||||||
* recreated with cpanspec
|
|
||||||
* disabled old Provides/Obsoletes
|
|
||||||
mysqperl perl-Msql-Mysql-modules
|
|
||||||
* added eg to doc
|
|
||||||
- rpmlint
|
|
||||||
* file permission
|
|
||||||
o chmod a-x on several files
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 15 16:18:47 CET 2010 - anicka@suse.cz
|
Fri Jan 15 16:18:47 CET 2010 - anicka@suse.cz
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DBD-mysql (Version 4.014)
|
# spec file for package perl-DBD-mysql (Version 4.013)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -19,38 +19,25 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-DBD-mysql
|
Name: perl-DBD-mysql
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
BuildRequires: mysql-devel perl-DBI perl-Data-ShowTable
|
||||||
Summary: MySQL driver for the Perl5 Database Interface (DBI)
|
Url: http://cpan.org/modules/by-module/DBD/
|
||||||
Version: 4.014
|
|
||||||
Release: 1
|
|
||||||
License: Artistic License ..
|
License: Artistic License ..
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/DBD-mysql
|
Obsoletes: mysqperl perl-Msql-Mysql-modules
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Provides: mysqperl perl-Msql-Mysql-modules
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Requires: perl-DBI perl-Data-ShowTable
|
||||||
BuildRequires: mysql-devel
|
|
||||||
BuildRequires: perl
|
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl(DBI)
|
|
||||||
BuildRequires: perl(Data::ShowTable)
|
|
||||||
#
|
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(DBI)
|
AutoReqProv: on
|
||||||
Requires: perl(Data::ShowTable)
|
Version: 4.013
|
||||||
## FIXME: is this really still needed
|
Release: 1
|
||||||
# then enable again
|
Summary: Interface to the MySQL database
|
||||||
#Provides: mysqperl perl-Msql-Mysql-modules
|
Group: Development/Libraries/Perl
|
||||||
#Obsoletes: mysqperl perl-Msql-Mysql-modules
|
Source: http://www.cpan.org/modules/by-module/Mysql/DBD-mysql-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%define _prefix /usr
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DBD::mysql is the Perl5 Database Interface driver for the MySQL
|
A Perl5 Database Interface to the MySQL database
|
||||||
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. :-)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -59,31 +46,32 @@ Authors:
|
|||||||
Jochen Wiedmann <joe@ispsoft.de>
|
Jochen Wiedmann <joe@ispsoft.de>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n DBD-mysql-%{version}
|
||||||
## rpmlint
|
chmod a-x ChangeLog README INSTALL.html
|
||||||
# fix file permission
|
|
||||||
chmod a-x ChangeLog README INSTALL.html eg/*
|
|
||||||
chmod a-x lib/Bundle/DBD/mysql.pm
|
|
||||||
chmod a-x lib/DBD/mysql.pm
|
|
||||||
chmod a-x lib/DBD/mysql/INSTALL.pod
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor --cflags="-I%{_includedir}/mysql $RPM_OPT_FLAGS"
|
perl Makefile.PL --verbose
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
#make test
|
||||||
#check
|
|
||||||
#{__make} test
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}//Bundle/DBD/mysql.pm
|
||||||
|
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql.pm
|
||||||
|
chmod a-x $RPM_BUILD_ROOT/%{perl_vendorarch}/DBD/mysql/INSTALL.pod
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
# Clear up the mess
|
||||||
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc ChangeLog README INSTALL.html TODO eg
|
%doc ChangeLog README INSTALL.html TODO
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
%{perl_vendorarch}/auto/DBD
|
||||||
|
%{perl_vendorarch}/Bundle/DBD
|
||||||
|
%{perl_vendorarch}/DBD
|
||||||
|
/var/adm/perl-modules/perl-DBD-mysql
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user