[perl-Data-Flow] Specify all dependencies
Petr Pisar
ppisar at fedoraproject.org
Wed Jan 14 14:47:10 UTC 2015
commit fe850d568e8d59fb2c295c191fa53ee85f7f7c50
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Jan 14 15:46:28 2015 +0100
Specify all dependencies
perl-Data-Flow.spec | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/perl-Data-Flow.spec b/perl-Data-Flow.spec
index 76a524a..f3aa2fd 100644
--- a/perl-Data-Flow.spec
+++ b/perl-Data-Flow.spec
@@ -1,6 +1,6 @@
Name: perl-Data-Flow
Version: 1.02
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Perl extension for simple-minded recipe-controlled build of data
# Author declared license there:
# <https://rt.cpan.org/Public/Bug/Display.html?id=18068#txn-175743>
@@ -9,11 +9,14 @@ Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-Flow/
Source0: http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Data-Flow-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
-# Run-time
-BuildRequires: perl(Exporter)
+# Run-time:
BuildRequires: perl(AutoLoader)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
%{summary}.
@@ -22,13 +25,12 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
%setup -q -n Data-Flow-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -40,6 +42,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Wed Jan 14 2015 Petr Pisar <ppisar at redhat.com> - 1.02-9
+- Specify all dependencies
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.02-8
- Perl 5.20 rebuild
More information about the scm-commits
mailing list