Specify all dependencies

This commit is contained in:
Petr Písař 2016-12-20 13:27:35 +01:00
parent e0832acf79
commit d186884b5d
1 changed files with 6 additions and 2 deletions

View File

@ -16,9 +16,13 @@ Patch1: Storable-2.53-CVE-2016-1238-avoid-loading-optional-modules-from.
# Fix crash in Storable when deserializing malformed code reference, RT#68348,
# RT130098
Patch2: perl-5.25.7-Fix-Storable-segfaults.patch
BuildRequires: coreutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: sed
# Run-time:
# Carp substitutes missing Log::Agent
BuildRequires: perl(Carp)
@ -80,8 +84,8 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check