forked from pool/percona-toolkit
Accepting request 140846 from home:AndreasStieger:branches:server:database
- fix SLE 11 build by adding alternative perl macros OBS-URL: https://build.opensuse.org/request/show/140846 OBS-URL: https://build.opensuse.org/package/show/server:database/percona-toolkit?expand=0&rev=6
This commit is contained in:
parent
e80df7e3fa
commit
d289b47f3e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 11 13:16:38 UTC 2012 - andreas.stieger@gmx.de
|
||||
|
||||
- fix SLE 11 build by adding alternative perl macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 16 20:34:53 UTC 2012 - andreas.stieger@gmx.de
|
||||
|
||||
|
@ -25,7 +25,11 @@ Release: 0
|
||||
Url: https://www.percona.com/software/percona-toolkit/
|
||||
Source: https://www.percona.com/redir/downloads/%{name}/%{version}/percona-toolkit-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} < 1140
|
||||
Requires: perl = %{perl_version}
|
||||
%else
|
||||
%{perl_requires}
|
||||
%endif
|
||||
Requires: perl(DBD::mysql) >= 1.0
|
||||
Requires: perl(DBI) >= 1.13
|
||||
Requires: perl(IO::Socket::SSL)
|
||||
@ -59,6 +63,10 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%if 0%{?suse_version} < 1130
|
||||
%__rm -rf $RPM_BUILD_ROOT%perl_vendorarch/auto/%{name}
|
||||
%__rm -rf $RPM_BUILD_ROOT/var/adm/perl-modules/%{name}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user