[geekcode] Fix a typo (sf#879355)
Petr Šabata
psabata at fedoraproject.org
Thu Feb 21 15:59:28 UTC 2013
commit 4258906f993ee4b021765a787ed60ecd91575c52
Author: Petr Šabata <contyk at redhat.com>
Date: Thu Feb 21 16:59:23 2013 +0100
Fix a typo (sf#879355)
geekcode-1.7.3-choice.patch | 14 ++++++++++++++
geekcode.spec | 8 +++++++-
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/geekcode-1.7.3-choice.patch b/geekcode-1.7.3-choice.patch
new file mode 100644
index 0000000..1c152a9
--- /dev/null
+++ b/geekcode-1.7.3-choice.patch
@@ -0,0 +1,14 @@
+diff --git a/geekcode.c b/geekcode.c
+index 2b9b13d..48a645b 100644
+--- a/geekcode.c
++++ b/geekcode.c
+@@ -168,7 +168,7 @@ int main()
+ printf("1) Create your own Geekcode\n");
+ printf("2) Read a Geekcode\n");
+ printf("\n");
+- printf("Enter your choise here [0 to quit]: ");
++ printf("Enter your choice here [0 to quit]: ");
+ scanf("%d", &selection);
+ clear_kb();
+ }while(selection<0 || selection>2);
+
diff --git a/geekcode.spec b/geekcode.spec
index 63a7142..3178e0a 100644
--- a/geekcode.spec
+++ b/geekcode.spec
@@ -1,12 +1,14 @@
Name: geekcode
Version: 1.7.3
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Geek Code generator
Summary(pl): Generator Geek Code
Group: Amusements/Games
License: GPLv2+
URL: http://sourceforge.net/projects/%{name}/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# sf#879355
+Patch0: %{name}-1.7.3-choice.patch
%description
The Geek Code Generator will generate a geek code block for you by asking you a
@@ -21,6 +23,7 @@ gdziekolwiek indziej, gdzie chcemy się pochwalić swoją geekowatością.
%prep
%setup -q
sed -i 's/\r//' COPYING
+%patch0 -p1
%build
make %{?_smp_mflags} CFLAGS="%{optflags}"
@@ -34,6 +37,9 @@ install -m 755 geekcode %{buildroot}%{_bindir}
%{_bindir}/%{name}
%changelog
+* Wed Feb 20 2013 Petr Šabata <contyk at redhat.com> - 1.7.3-11
+- Fix a typo (sf#879355)
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list