From d186884b5d6a726d37e3a85c91c56727aeb2fd9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 20 Dec 2016 13:27:35 +0100
Subject: Specify all dependencies

---
 perl-Storable.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/perl-Storable.spec b/perl-Storable.spec
index 114efee..5f02e95 100644
--- a/perl-Storable.spec
+++ b/perl-Storable.spec
@@ -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
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Storable.git/commit/?h=f24&id=d186884b5d6a726d37e3a85c91c56727aeb2fd9f
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to