[perl-CGI-Application-Plugin-Config-Simple] Clean up spec file
Emmanuel Seyman
eseyman at fedoraproject.org
Sun May 19 09:23:25 UTC 2013
commit 25408fd80045572ab1859783f497dcaee22a284c
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun May 19 11:23:20 2013 +0200
Clean up spec file
perl-CGI-Application-Plugin-Config-Simple.spec | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-Config-Simple.spec b/perl-CGI-Application-Plugin-Config-Simple.spec
index 17b6481..431b608 100644
--- a/perl-CGI-Application-Plugin-Config-Simple.spec
+++ b/perl-CGI-Application-Plugin-Config-Simple.spec
@@ -1,12 +1,10 @@
Name: perl-CGI-Application-Plugin-Config-Simple
Version: 1.01
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Add Config::Simple support to CGI::Application
License: GPL+ or Artistic
-Group: Development/Libraries
URL: http://search.cpan.org/dist/CGI-Application-Plugin-Config-Simple/
Source0: http://www.cpan.org/authors/id/W/WO/WONKO/CGI-Application-Plugin-Config-Simple-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(CGI::Application)
BuildRequires: perl(Config::Simple)
@@ -14,6 +12,8 @@ BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
This module acts as a plugin for Config::Simple to be easily used inside of
a CGI::Application module. It does not provide every method available from
@@ -29,8 +29,6 @@ created if you want to use it's full power.
./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 \;
@@ -40,16 +38,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# t/main.t greps for 'Permission denied.'
LANG=C ./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun May 19 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.01-10
+- Remove no-longer-used macros
+- Add perl default filter
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.01-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the perl-devel
mailing list