4.020 bump
This commit is contained in:
parent
9f95e3a0cc
commit
a0b013ea57
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ DBD-mysql-4.016.tar.gz
|
||||
DBD-mysql-4.017.tar.gz
|
||||
/DBD-mysql-4.018.tar.gz
|
||||
/DBD-mysql-4.019.tar.gz
|
||||
/DBD-mysql-4.020.tar.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: perl-DBD-MySQL
|
||||
Version: 4.019
|
||||
Release: 3%{?dist}
|
||||
Version: 4.020
|
||||
Release: 1%{?dist}
|
||||
Summary: A MySQL interface for perl
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -22,7 +22,6 @@ Provides: perl-DBD-mysql = %{version}-%{release}
|
||||
%description
|
||||
An implementation of DBI for MySQL for Perl.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n DBD-mysql-%{version}
|
||||
%patch0 -p1
|
||||
@ -35,25 +34,21 @@ for file in lib/DBD/mysql.pm ChangeLog; do
|
||||
mv -f ${file}{_,}
|
||||
done
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" --ssl
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --ssl
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
# Full test coverage requires a live MySQL database
|
||||
#make test
|
||||
|
||||
|
||||
%files
|
||||
%doc ChangeLog INSTALL.html README TODO
|
||||
%{perl_vendorarch}/Bundle/
|
||||
@ -61,8 +56,10 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
%{perl_vendorarch}/auto/DBD/
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 22 2011 Petr Sabata <contyk@redhat.com> - 4.020-1
|
||||
- 4.020 bump
|
||||
|
||||
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.019-3
|
||||
- Perl mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user