[perl-Log-Dispatch-Array/f21] 1.003 bump; Modernize spec file
Jitka Plesnikova
jplesnik at fedoraproject.org
Fri Nov 21 14:10:13 UTC 2014
commit e21bf3048bbbfead604699a9951efec3dc7c4863
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date: Fri Nov 21 15:09:48 2014 +0100
1.003 bump; Modernize spec file
.gitignore | 1 +
perl-Log-Dispatch-Array.spec | 31 ++++++++++++++-----------------
sources | 2 +-
3 files changed, 16 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 150660d..4f6cf17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Log-Dispatch-Array-1.001.tar.gz
+/Log-Dispatch-Array-1.003.tar.gz
diff --git a/perl-Log-Dispatch-Array.spec b/perl-Log-Dispatch-Array.spec
index 3cf27b4..727231e 100644
--- a/perl-Log-Dispatch-Array.spec
+++ b/perl-Log-Dispatch-Array.spec
@@ -1,20 +1,22 @@
Name: perl-Log-Dispatch-Array
-Version: 1.001
-Release: 12%{?dist}
+Version: 1.003
+Release: 1%{?dist}
Summary: Log events to an array (reference)
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Log-Dispatch-Array/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Log-Dispatch-Array-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Log::Dispatch::Output)
+BuildRequires: perl(parent)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
# tests
+BuildRequires: perl(Log::Dispatch)
BuildRequires: perl(Test::Deep)
-BuildRequires: perl(Test::More)
-Requires: perl(Log::Dispatch::Output)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Test::More) >= 0.96
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@@ -27,32 +29,27 @@ of your code.
%setup -q -n Log-Dispatch-Array-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf $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
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Nov 21 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.003-1
+- 1.003 bump
+- Modernize spec file
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.001-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 92c8528..5db8a3d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70716845b88ba61c023df2b622b74fab Log-Dispatch-Array-1.001.tar.gz
+e4c6caa0c6907fee5562ab8f9ab49021 Log-Dispatch-Array-1.003.tar.gz
More information about the perl-devel
mailing list