Changes of Revision 2
[-] | Changed | percona-toolkit.spec |
x 1
2 make %{?_smp_mflags} 3 4 %install 5 +%if 0%{?suse_version} 6 %perl_make_install 7 %perl_process_packlist 8 %if 0%{?suse_version} < 1130 9 %__rm -rf $RPM_BUILD_ROOT%perl_vendorarch/auto/%{name} 10 %__rm -rf $RPM_BUILD_ROOT/var/adm/perl-modules/%{name} 11 %endif 12 +%else 13 +%__make DESTDIR=%{buildroot} install 14 +### Clean up buildroot 15 +%{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch} 16 +%endif 17 18 %clean 19 rm -rf $RPM_BUILD_ROOT 20 |