[perl-AI-Categorizer: 3/5] A couple of fixes based on Emmanuel's review feedback

Mathieu Bridon bochecha at fedoraproject.org
Wed Oct 24 08:19:41 UTC 2012


commit 83ba368d8c698f609f8ba9445f9374a0741265c0
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Mon Oct 22 12:00:43 2012 +0800

    A couple of fixes based on Emmanuel's review feedback
    
    This adds the Perl default filter and fixes the permissions on the .pm
    files.
    
    This new package was submitted to Fedora on Mon Oct 22 2012:
        https://bugzilla.redhat.com/show_bug.cgi?id=850641#c3

 perl-AI-Categorizer.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/perl-AI-Categorizer.spec b/perl-AI-Categorizer.spec
index 4c6e9fa..aa1c6d4 100644
--- a/perl-AI-Categorizer.spec
+++ b/perl-AI-Categorizer.spec
@@ -1,6 +1,6 @@
 Name:           perl-AI-Categorizer
 Version:        0.09
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Automatic Text Categorization
 
 License:        GPL+ or Artistic
@@ -33,6 +33,8 @@ Requires:       perl(Params::Validate) >= 0.18
 Requires:       perl(Statistics::Contingency) >= 0.06
 Requires:       perl(Time::Progress) >= 1.1
 
+%{?perl_default_filter}
+
 %description
 AI::Categorizer is a framework for automatic text categorization. It
 consists of a collection of Perl modules that implement common
@@ -46,6 +48,9 @@ features), what format the documents are in, and so on.
 %prep
 %setup -q -n AI-Categorizer-%{version}
 
+# Fix permissions
+find . -name '*.pm' -exec chmod -x '{}' \;
+
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -70,5 +75,10 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 
 %changelog
+* Mon Oct 22 2012 Mathieu Bridon <bochecha at fedoraproject.org> - 0.09-2
+- A couple of fixes based on Emmanuel's review feedback:
+  - Add the Perl default filter,
+  - Fix the permissions on the pm files.
+
 * Mon Aug 20 2012 Mathieu Bridon <bochecha at fedoraproject.org> 0.09-1
 - Initial spec file, with help from cpanspec.


More information about the scm-commits mailing list