diff --git a/.gitignore b/.gitignore index c57da19..72cbcff 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ shigofumi-0.1.tar.xz +/shigofumi-0.2.tar.xz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..af70608 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* (datov.ch|schr.nek|syst.m)"); diff --git a/shigofumi-0.1-Remove-set-but-unread-variable.patch b/shigofumi-0.1-Remove-set-but-unread-variable.patch deleted file mode 100644 index 17d50c6..0000000 --- a/shigofumi-0.1-Remove-set-but-unread-variable.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b1aff306279be7d7cf5adcf12e3c6a14e755fe1c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Thu, 10 Feb 2011 19:53:54 +0100 -Subject: [PATCH] Remove set but unread variable - -GCC 4.6 started to warn for it. ---- - src/completition.c | 5 ++--- - 1 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/src/completition.c b/src/completition.c -index ab3f094..e6c2c83 100644 ---- a/src/completition.c -+++ b/src/completition.c -@@ -80,15 +80,14 @@ static char *shi_msgid_generator(const char *text_locale, int state) { - /* Generates possible document ID completions - * @text is partial user input word - * @state is 0 for first completion attempt, non-zero otherwise -- * @return next suggested complete word or NULL if no possibility */ -+ * @return next suggested complete word or NULL if no possibility -+ * TODO: Implement match on string representation */ - static char *shi_docid_generator(const char *text, int state) { -- static size_t text_length; - static struct isds_list *item; - static int order; - char *document_id; - - if (!state) { -- text_length = strlen(text); - if (message) - item = message->documents; - else --- -1.7.4 - diff --git a/shigofumi.spec b/shigofumi.spec index 3f58299..c255772 100644 --- a/shigofumi.spec +++ b/shigofumi.spec @@ -1,18 +1,14 @@ Name: shigofumi -Version: 0.1 -Release: 8%{?dist} +Version: 0.2 +Release: 1%{?dist} Summary: Command line client for accessing the Czech Data Boxes - Group: Applications/Internet License: GPLv3+ URL: http://xpisar.wz.cz/%{name}/ -Source0: http://xpisar.wz.cz/%{name}/dist/%{name}-%{version}.tar.xz -# In upstream, needed for GCC 4.6 -Patch0: %{name}-0.1-Remove-set-but-unread-variable.patch - +Source0: %{url}dist/%{name}-%{version}.tar.xz BuildRequires: file-devel BuildRequires: libconfuse-devel -BuildRequires: libisds-devel >= 0.3 +BuildRequires: libisds-devel >= 0.6 BuildRequires: libxml2-devel BuildRequires: readline-devel @@ -22,7 +18,6 @@ Information System) client. %prep %setup -q -%patch0 -p1 -b .unused_variable %build %configure @@ -33,13 +28,17 @@ make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %files -f %{name}.lang -%defattr(-,root,root,-) %doc README AUTHORS NEWS TODO COPYING ChangeLog %{_bindir}/* %{_mandir}/man1/* +%{_mandir}/*/man1/* %{_mandir}/man5/* +%{_mandir}/*/man5/* %changelog +* Tue Oct 30 2012 Petr Pisar - 0.2-1 +- 0.2 bump + * Sat Jul 21 2012 Fedora Release Engineering - 0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index c00202f..8690b39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1c968852f39ad4eff71cccd261a80802 shigofumi-0.1.tar.xz +51674a91b4cd1668bd9e23badf15d3f1 shigofumi-0.2.tar.xz