[perl-CGI-Application-Plugin-Stream] Various cleanups

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jan 27 10:57:01 UTC 2013


commit b0e394ad06a24fdd709190c660c4583cafbcf58b
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Jan 27 11:56:55 2013 +0100

    Various cleanups

 perl-CGI-Application-Plugin-Stream.spec |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-Stream.spec b/perl-CGI-Application-Plugin-Stream.spec
index 01284cd..57657bd 100644
--- a/perl-CGI-Application-Plugin-Stream.spec
+++ b/perl-CGI-Application-Plugin-Stream.spec
@@ -1,12 +1,12 @@
 Name:           perl-CGI-Application-Plugin-Stream
 Version:        2.10
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        CGI::Application Plugin for streaming files
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-Stream/
 Source0:        http://www.cpan.org/authors/id/P/PU/PURDY/CGI-Application-Plugin-Stream-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(CGI::Application) >= 3.21
 BuildRequires:  perl(File::MMagic)
@@ -16,6 +16,8 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This plugin provides a way to stream a file back to the user, which is
 useful if you are creating a PDF or Spreadsheet document dynamically to
@@ -29,8 +31,6 @@ deliver to the user.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -39,16 +39,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 27 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 2.10-11
+- Add perl default filter
+- Remove no-longer-used macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.10-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 



More information about the perl-devel mailing list