[perl-CGI-Application-Plugin-FormState] Clean up spec file
Emmanuel Seyman
eseyman at fedoraproject.org
Sun May 26 09:04:51 UTC 2013
commit b2ed7bea1531ca57f3a9851b493c8182ed5750f7
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun May 26 11:04:44 2013 +0200
Clean up spec file
perl-CGI-Application-Plugin-FormState.spec | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-CGI-Application-Plugin-FormState.spec b/perl-CGI-Application-Plugin-FormState.spec
index ce5edb7..c7a4f89 100644
--- a/perl-CGI-Application-Plugin-FormState.spec
+++ b/perl-CGI-Application-Plugin-FormState.spec
@@ -1,12 +1,12 @@
Name: perl-CGI-Application-Plugin-FormState
Version: 0.12
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Store Form State without Hidden Fields
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/CGI-Application-Plugin-FormState/
Source0: http://www.cpan.org/authors/id/M/MG/MGRAHAM/CGI-Application-Plugin-FormState-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
BuildRequires: perl(CGI)
BuildRequires: perl(CGI::Application)
@@ -17,6 +17,8 @@ BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
CGI::Application::Plugin::FormState provides a temporary storage area
within the user's session for storing form-related data.
@@ -29,8 +31,6 @@ within the user's session for storing form-related data.
./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 TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun May 26 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.12-10
+- Add perl default filter
+- Remove no-longer-used macros
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list