diff --git a/perl-Storable.spec b/perl-Storable.spec index 3574085..72034b9 100644 --- a/perl-Storable.spec +++ b/perl-Storable.spec @@ -18,11 +18,15 @@ Patch2: Storable-2.56-CVE-2016-1238-avoid-loading-optional-modules-from. # Fix crash in Storable when deserializing malformed code reference, RT#68348, # RT130098 Patch3: perl-5.25.7-Fix-Storable-segfaults.patch +BuildRequires: coreutils +BuildRequires: gcc +BuildRequires: make BuildRequires: perl BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: sed # Run-time: # Carp substitutes missing Log::Agent BuildRequires: perl(Carp) @@ -85,8 +89,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