Use make_* macros

epel9
Jitka Plesnikova 5 years ago
parent 6e448d0e4a
commit 68297f5f7c

@ -6,14 +6,14 @@ License: GPL+ or Artistic
URL: https://metacpan.org/release/boolean URL: https://metacpan.org/release/boolean
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/boolean-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/boolean-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter >= 0:5.005003
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.5.3
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Find) BuildRequires: perl(File::Find)
BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(JSON::MaybeXS)
BuildRequires: perl(lib) BuildRequires: perl(lib)
@ -22,7 +22,7 @@ BuildRequires: perl(strict)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(threads) BuildRequires: perl(threads)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description %description
Most programming languages have a native Boolean data type. Perl does not. Most programming languages have a native Boolean data type. Perl does not.
@ -31,12 +31,11 @@ Most programming languages have a native Boolean data type. Perl does not.
%setup -q -n boolean-%{version} %setup -q -n boolean-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check

Loading…
Cancel
Save