new upstream version
This commit is contained in:
parent
47e08e3cdd
commit
e353d29d73
@ -1 +1 @@
|
|||||||
DBD-mysql-4.010.tar.gz
|
DBD-mysql-4.011.tar.gz
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: perl-DBD-MySQL
|
Name: perl-DBD-MySQL
|
||||||
Version: 4.010
|
Version: 4.011
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A MySQL interface for perl
|
Summary: A MySQL interface for perl
|
||||||
|
|
||||||
@ -9,7 +9,9 @@ URL: http://search.cpan.org/dist/DBD-mysql/
|
|||||||
Source0: http://www.cpan.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
# Prevent bug #443495
|
||||||
BuildRequires: perl(DBI) >= 1.607
|
BuildRequires: perl(DBI) >= 1.607
|
||||||
|
|
||||||
BuildRequires: mysql, mysql-devel, zlib-devel
|
BuildRequires: mysql, mysql-devel, zlib-devel
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
@ -22,11 +24,15 @@ An implementation of DBI for MySQL for Perl.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n DBD-mysql-%{version}
|
%setup -q -n DBD-mysql-%{version}
|
||||||
# Correct file permissions
|
# Correct file permissions
|
||||||
find . -type f -exec chmod -x {} ';'
|
find . -type f | xargs chmod -x
|
||||||
|
|
||||||
|
for file in lib/DBD/mysql.pm ChangeLog; do
|
||||||
|
iconv -f iso-8859-1 -t utf-8 <$file >${file}_ && mv -f ${file}_ $file
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" --ssl
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" --ssl
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -38,12 +44,6 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|||||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
for file in $RPM_BUILD_ROOT%{_mandir}/man3/DBD::mysql.3pm \
|
|
||||||
ChangeLog; do
|
|
||||||
iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
|
|
||||||
mv -f "${file}_" "$file"
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Full test coverage requires a live MySQL database
|
# Full test coverage requires a live MySQL database
|
||||||
@ -64,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 10 2009 Stepan Kasal <skasal@redhat.com> - 4.011-1
|
||||||
|
- new upstream version
|
||||||
|
- apply iconv on primary source
|
||||||
|
|
||||||
* Mon Apr 6 2009 Marcela Mašláňová <mmaslano@redhat.com> - 4.010-1
|
* Mon Apr 6 2009 Marcela Mašláňová <mmaslano@redhat.com> - 4.010-1
|
||||||
- update to the latest version
|
- update to the latest version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user