Use make_* macros

f38
Jitka Plesnikova 5 years ago
parent ff1562d285
commit 76babb0068

@ -10,8 +10,8 @@ BuildArch: noarch
BuildRequires: coreutils
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(Exporter)
@ -33,11 +33,11 @@ touch -r README README.iconv
mv -f README.iconv README
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} %{buildroot}/*
%check

Loading…
Cancel
Save