[perl-Log-Dispatch-Array] 1.003 bump; Modernize spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 6074202d57f6892790a2223e87f5b399434a76e8
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Fri Nov 21 14:58:12 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 1f95c85..a869628 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:        13%{?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@xxxxxxxxxx> - 1.003-1
+- 1.003 bump
+- Modernize spec file
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.001-13
 - Perl 5.20 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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux