diff --git a/perl-PDF-API2.spec b/perl-PDF-API2.spec index 3e5cfdd..242705d 100644 --- a/perl-PDF-API2.spec +++ b/perl-PDF-API2.spec @@ -140,18 +140,17 @@ rm -rf "$DIR" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} %{buildroot}/* # we will not include the dejavu fonts in this package, we'll just require the # deja-vu font packages and change the search location (patch0) -rm -rf $RPM_BUILD_ROOT/%{perl_vendorlib}/PDF/API2/fonts +rm -rf %{buildroot}/%{perl_vendorlib}/PDF/API2/fonts %check export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test - %files %license LICENSE COPYING-PDF_API2_Basic_PDF-Martin_Hosken %doc Changes PATENTS README