[datagrepper] Patch a typo.

Ralph Bean ralph at fedoraproject.org
Mon May 13 17:46:07 UTC 2013


commit 6bdb882f7c9f9b97a96721516575d579104943a1
Author: Ralph Bean <rbean at redhat.com>
Date:   Mon May 13 13:46:00 2013 -0400

    Patch a typo.

 datagrepper-typofix.patch |   25 +++++++++++++++++++++++++
 datagrepper.spec          |    7 ++++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/datagrepper-typofix.patch b/datagrepper-typofix.patch
new file mode 100644
index 0000000..9661c29
--- /dev/null
+++ b/datagrepper-typofix.patch
@@ -0,0 +1,25 @@
+From ccbdd1684b9ec58921733c75394c093a2a62527b Mon Sep 17 00:00:00 2001
+From: Ralph Bean <rbean at redhat.com>
+Date: Mon, 13 May 2013 13:35:09 -0400
+Subject: [PATCH] Typofix.
+
+---
+ datagrepper/__init__.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/datagrepper/__init__.py b/datagrepper/__init__.py
+index 4877cc6..287d03e 100644
+--- a/datagrepper/__init__.py
++++ b/datagrepper/__init__.py
+@@ -71,7 +71,7 @@ def modify_rst(rst):
+     substitutions = {
+         '.. code-block:: javascript': '::',
+     }
+-    for old, new in substitions.items():
++    for old, new in substitutions.items():
+         rst = rst.replace(old, new)
+ 
+     return rst
+-- 
+1.8.1.4
+
diff --git a/datagrepper.spec b/datagrepper.spec
index 70c0133..ad910be 100644
--- a/datagrepper.spec
+++ b/datagrepper.spec
@@ -5,12 +5,13 @@
 
 Name:           datagrepper
 Version:        0.1.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A webapp to query fedmsg history
 
 License:        GPLv2+
 URL:            https://github.com/fedora-infra/datagrepper
 Source0:        https://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz
+Patch0:         datagrepper-typofix.patch
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
@@ -56,6 +57,7 @@ bus.  It is a JSON api for the datanommer message store.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %if %{?rhel}%{!?rhel:0} >= 6
 # Make sure that epel/rhel picks up the correct version of webob
@@ -85,6 +87,9 @@ install -m 644 apache/%{modname}.cfg %{buildroot}%{_sysconfdir}/%{modname}/%{mod
 %{python_sitelib}/%{eggname}-%{version}-py%{python_version}.egg-info/
 
 %changelog
+* Mon May 13 2013 Ralph Bean <rbean at redhat.com> - 0.1.3-2
+- Apply a patch to fix a spelling typo in the main file.
+
 * Mon May 13 2013 Ralph Bean <rbean at redhat.com> - 0.1.3-1
 - Fix to configurable base url.
 - Support old docutils and code-block directive.


More information about the scm-commits mailing list