[ii] 1.7 bump

Petr Šabata psabata at fedoraproject.org
Mon Jan 7 09:43:38 UTC 2013


commit beba46b3bfa3ba10c399044a4d116cffb407def0
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Jan 7 10:43:33 2013 +0100

    1.7 bump

 .gitignore |    1 +
 ii.spec    |   11 +++++++----
 sources    |    2 +-
 3 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5843cbe..4512638 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /ii-1.6.tar.gz
+/ii-1.7.tar.gz
diff --git a/ii.spec b/ii.spec
index 921f36a..cc30e69 100644
--- a/ii.spec
+++ b/ii.spec
@@ -1,6 +1,6 @@
 Name:      ii
-Version:   1.6
-Release:   2%{?dist}
+Version:   1.7
+Release:   1%{?dist}
 Summary:   IRC IT, simple FIFO based IRC client
 Group:     Applications/Communications
 License:   MIT
@@ -15,8 +15,8 @@ directory a FIFO in file and a normal out file is created.
 
 %prep
 %setup -q
-sed -i 's!PREFIX *=.*!PREFIX = %{_prefix}!' config.mk
-sed -i 's!CFLAGS *=\(.*\)!CFLAGS = \1 %{optflags}!' config.mk
+sed -i 's!^PREFIX *=.*!PREFIX = %{_prefix}!' config.mk
+sed -i 's!^CFLAGS *=.*!CFLAGS = ${INCLUDES} -DVERSION=\\"${VERSION}\\" %{optflags}!' config.mk
 %patch0 -p1 -b .make
 
 %build
@@ -31,6 +31,9 @@ make install DESTDIR=%{buildroot}
 %{_mandir}/man1/ii.1*
 
 %changelog
+* Mon Jan 07 2013 Petr Šabata <contyk at redhat.com> - 1.7-1
+- 1.7 bump
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index d2f6999..040a2fc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ca183a993690cbe3b78edd1bc8c8bed5  ii-1.6.tar.gz
+6191008ca09770873d84f40270493d0e  ii-1.7.tar.gz


More information about the scm-commits mailing list