[perl-Starlet] Add BR: perl(Plack::Test) (RHBZ#1085230).

corsepiu corsepiu at fedoraproject.org
Tue Apr 8 22:52:01 UTC 2014


commit 0dab360bc53ddb97ce70f5c4bac8a9f9ba0028b2
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Wed Apr 9 00:51:40 2014 +0200

    Add BR: perl(Plack::Test) (RHBZ#1085230).
    
    - Minor spec file modernization.

 perl-Starlet.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Starlet.spec b/perl-Starlet.spec
index 6e81f21..3a9151e 100644
--- a/perl-Starlet.spec
+++ b/perl-Starlet.spec
@@ -1,6 +1,6 @@
 Name:           perl-Starlet
 Version:        0.21
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Simple, high-performance PSGI/Plack HTTP server
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -12,6 +12,7 @@ BuildRequires:  /usr/bin/start_server
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(Parallel::Prefork) >= 0.13
 BuildRequires:  perl(Plack) >= 0.992
+BuildRequires:  perl(Plack::Test)
 BuildRequires:  perl(Server::Starter) >= 0.06
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::TCP) >= 0.15
@@ -35,7 +36,6 @@ make %{?_smp_mflags}
 make pure_install PERL_INSTALL_ROOT=$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/*
 
@@ -43,12 +43,15 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 09 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.21-2
+- Add BR: perl(Plack::Test) (RHBZ#1085230).
+- Minor spec file modernization.
+
 * Thu Dec 26 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.21-1
 - Upstream update.
 


More information about the scm-commits mailing list