Use make_install macro
This commit is contained in:
parent
9cc5364018
commit
b13eda4037
@ -70,11 +70,12 @@ sed -i -e '/^bzlib-src\//d' MANIFEST
|
||||
find bzlib-src -type f >>MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
|
||||
NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user