From: Mike Taylor Date: Thu, 14 Mar 2013 17:27:48 +0000 (+0000) Subject: Remove old buildroot before starting again. X-Git-Tag: v1.29~15 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b8f633a4141bc87dd4bf6eb5e5fed6c89fd2a668;p=ZOOM-Perl-moved-to-github.git Remove old buildroot before starting again. Move %{perl_vendorlib} to end. --- diff --git a/zoom-perl.spec b/zoom-perl.spec index 4ffc833..4db8042 100644 --- a/zoom-perl.spec +++ b/zoom-perl.spec @@ -36,9 +36,10 @@ code is running is reassuring.) %build %{__perl} Makefile.PL PREFIX=/usr INSTALLDIRS=vendor -make +%{__make} %install +%{__rm} -rf %{buildroot} %{__make} pure_install DESTDIR=%{buildroot} # Perl's make install seems to create both uncompressed AND compressed @@ -58,9 +59,9 @@ rm -fr ${RPM_BUILD_ROOT} %doc %{_datadir}/doc/perl-zoom %{_bindir}/zselect %{_bindir}/zoomdump -%{perl_vendorlib} %doc %{_datadir}/man/man3/Net::Z3950::ZOOM.3pm.gz %doc %{_datadir}/man/man3/ZOOM.3pm.gz +%{perl_vendorlib} %changelog * Mon Jul 12 2010 Mike Taylor