[python-fmn-rules] Optimize regex rule.

Ralph Bean ralph at fedoraproject.org
Fri Jan 23 18:51:34 UTC 2015


commit ca8febf51c3904bf0b5353f495d4b2c46446d739
Author: Ralph Bean <rbean at redhat.com>
Date:   Fri Jan 23 13:51:59 2015 -0500

    Optimize regex rule.

 .gitignore            |    1 +
 python-fmn-rules.spec |   13 ++++++-------
 sources               |    2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 36d21f1..8721937 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
 /fmn.rules-0.4.1.tar.gz
 /fmn.rules-0.4.2.tar.gz
 /fmn.rules-0.4.3.tar.gz
+/fmn.rules-0.4.4.tar.gz
diff --git a/python-fmn-rules.spec b/python-fmn-rules.spec
index 8750987..b8f4b22 100644
--- a/python-fmn-rules.spec
+++ b/python-fmn-rules.spec
@@ -7,8 +7,8 @@
 %endif
 
 Name:               python-fmn-rules
-Version:            0.4.3
-Release:            2%{?dist}
+Version:            0.4.4
+Release:            1%{?dist}
 Summary:            Message processing rules for Fedora Notifications
 
 Group:              Development/Libraries
@@ -16,9 +16,6 @@ License:            LGPLv2+
 URL:                http://pypi.python.org/pypi/fmn.rules
 Source0:            http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
 
-# https://github.com/fedora-infra/fmn.rules/pull/34
-Patch0:             python-fmn-rules-fix-regex.patch
-
 BuildArch:          noarch
 
 BuildRequires:      python2-devel
@@ -42,8 +39,6 @@ This module contains the set of "rules" fmn uses to process messages.
 %prep
 %setup -q -n %{modname}-%{version}
 
-%patch0 -p1
-
 # Remove bundled egg-info in case it exists
 rm -rf %{modname}.egg-info
 
@@ -62,6 +57,10 @@ rm -rf %{modname}.egg-info
 %{python2_sitelib}/%{modname}-%{version}*
 
 %changelog
+* Fri Jan 23 2015 Ralph Bean <rbean at redhat.com> - 0.4.4-1
+- Remove old patch.
+- Optimize regex application.
+
 * Wed Jan 14 2015 Ralph Bean <rbean at redhat.com> - 0.4.3-2
 - Patch to fix regex matching.
 
diff --git a/sources b/sources
index 715f53f..58d87dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-136be4bb968aaae23143843d227b26b1  fmn.rules-0.4.3.tar.gz
+89f08190bad83e4b2fb5fed94f6f2051  fmn.rules-0.4.4.tar.gz


More information about the scm-commits mailing list