[perl-CGI-Application-Plugin-ViewCode] Various cleanups
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Jan 20 16:22:52 UTC 2013
commit 46f432f65942c2164648d6f4e3e237cc2924ed1b
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun Jan 20 17:22:44 2013 +0100
Various cleanups
perl-CGI-Application-Plugin-ViewCode.spec | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-ViewCode.spec b/perl-CGI-Application-Plugin-ViewCode.spec
index 208fd29..01897db 100644
--- a/perl-CGI-Application-Plugin-ViewCode.spec
+++ b/perl-CGI-Application-Plugin-ViewCode.spec
@@ -1,12 +1,12 @@
Name: perl-CGI-Application-Plugin-ViewCode
Version: 1.02
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Allows you to view the source of a CGI::Application module
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/CGI-Application-Plugin-ViewCode/
Source0: http://www.cpan.org/authors/id/W/WO/WONKO/CGI-Application-Plugin-ViewCode-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
BuildRequires: perl(CGI)
BuildRequires: perl(CGI::Application)
@@ -18,6 +18,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 works by adding extra run modes (named view_code and view_pod)
to the application. By calling this run mode you can see the source or POD
@@ -32,8 +34,6 @@ would like to view.
./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 \;
@@ -42,16 +42,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 TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Jan 20 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.02-12
+- Add perl default filter
+- Remove no-longer-used macros
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.02-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the perl-devel
mailing list