[perl-CGI-Application-Plugin-ErrorPage] Clean up spec file
Emmanuel Seyman
eseyman at fedoraproject.org
Sun May 26 08:47:52 UTC 2013
commit 95b38561e27c880d103fe402926d92477e33eb60
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun May 26 10:47:42 2013 +0200
Clean up spec file
perl-CGI-Application-Plugin-ErrorPage.spec | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-ErrorPage.spec b/perl-CGI-Application-Plugin-ErrorPage.spec
index 967b7de..b508426 100644
--- a/perl-CGI-Application-Plugin-ErrorPage.spec
+++ b/perl-CGI-Application-Plugin-ErrorPage.spec
@@ -1,12 +1,10 @@
Name: perl-CGI-Application-Plugin-ErrorPage
Version: 1.21
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Simple error page plugin for CGI::Application
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/CGI-Application-Plugin-ErrorPage/
Source0: http://www.cpan.org/authors/id/M/MA/MARKSTOS/CGI-Application-Plugin-ErrorPage-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(CGI)
BuildRequires: perl(CGI::Application)
@@ -16,6 +14,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 shortcut for the common need of returning a simple
error message to the user.
@@ -28,8 +28,6 @@ error message 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 \;
@@ -38,16 +36,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 LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun May 26 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.21-14
+- Add perl default filter
+- Remove no-longer-needed macros
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.21-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the perl-devel
mailing list