[perl-CGI-Ajax] Clean up spec file and add perl default filter

Emmanuel Seyman eseyman at fedoraproject.org
Tue Mar 20 06:16:59 UTC 2012


commit c03aadec7a1902e1774236f2a07f26c66576309d
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Tue Mar 20 07:16:54 2012 +0100

    Clean up spec file and add perl default filter

 perl-CGI-Ajax.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/perl-CGI-Ajax.spec b/perl-CGI-Ajax.spec
index 83caf70..ea6dead 100644
--- a/perl-CGI-Ajax.spec
+++ b/perl-CGI-Ajax.spec
@@ -1,6 +1,6 @@
 Name:           perl-CGI-Ajax
 Version:        0.707
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Perl-specific system for writing Asynchronous web applications
 License:        GPL+ or Artistic 
 Group:          Development/Libraries
@@ -16,6 +16,8 @@ BuildRequires:  perl(Test::More)
 Requires:       perl(CGI), perl(Class::Accessor)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 CGI::Ajax is an object-oriented module that provides a unique mechanism for
 using perl code asynchronously from javascript- enhanced HTML pages.
@@ -34,8 +36,6 @@ find scripts/ -type f -exec chmod -c -x {} +
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -46,16 +46,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README Todo scripts/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Mar 20 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.707-10
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.707-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list