From: Mike Taylor Date: Thu, 14 Mar 2013 17:25:00 +0000 (+0000) Subject: More build-time hackery to try to get well-defined library locations. X-Git-Tag: v1.29~16 X-Git-Url: http://git.indexdata.com/?p=ZOOM-Perl-moved-to-github.git;a=commitdiff_plain;h=b4e29cf7e7744c3432a0242c752d085b7b99a6d2 More build-time hackery to try to get well-defined library locations. --- diff --git a/zoom-perl.spec b/zoom-perl.spec index 8021ee4..4ffc833 100644 --- a/zoom-perl.spec +++ b/zoom-perl.spec @@ -35,11 +35,12 @@ code is running is reassuring.) %setup %build -perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr +%{__perl} Makefile.PL PREFIX=/usr INSTALLDIRS=vendor make %install -make pure_install +%{__make} pure_install DESTDIR=%{buildroot} + # Perl's make install seems to create both uncompressed AND compressed # versions of the manual pages, which confuses /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \;