[sxiv] 0.9 bump

Petr Sabata psabata at fedoraproject.org
Wed Aug 17 11:10:16 UTC 2011


commit bba1fb24838860f0bb9f5d35de9b1078567e06c5
Author: Petr Sabata <contyk at redhat.com>
Date:   Wed Aug 17 13:09:26 2011 +0200

    0.9 bump

 .gitignore                |    1 +
 sources                   |    2 +-
 sxiv-0.8.2-optflags.patch |   11 -----------
 sxiv-0.9-optflags.patch   |   13 +++++++++++++
 sxiv.spec                 |    9 ++++++---
 5 files changed, 21 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f6ae76b..83e36c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /sxiv-0.8.1.tar.gz
 /sxiv-0.8.2.tar.gz
+/sxiv-0.9.tar.gz
diff --git a/sources b/sources
index 0f8bf91..ce0abfd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6948b4c02f9458c4160c6e458228b85f  sxiv-0.8.2.tar.gz
+865f1e542669ad6d7932fcd4664fb481  sxiv-0.9.tar.gz
diff --git a/sxiv-0.9-optflags.patch b/sxiv-0.9-optflags.patch
new file mode 100644
index 0000000..08d33bd
--- /dev/null
+++ b/sxiv-0.9-optflags.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 2459352..b0ee31b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -5,7 +5,7 @@ VERSION = 0.9
+ CC = gcc
+ DESTDIR =
+ PREFIX = /usr/local
+-CFLAGS = -Wall -pedantic -O2 -DVERSION=\"$(VERSION)\"
++CFLAGS+= -Wall -pedantic -O2 -DVERSION=\"$(VERSION)\"
+ LDFLAGS =
+ LIBS = -lX11 -lImlib2
+ 
diff --git a/sxiv.spec b/sxiv.spec
index 22b1b5e..900c856 100644
--- a/sxiv.spec
+++ b/sxiv.spec
@@ -1,6 +1,6 @@
 Name:           sxiv
-Version:        0.8.2
-Release:        2%{?dist}
+Version:        0.9
+Release:        1%{?dist}
 Summary:        Simple (or small or suckless) X Image Viewer
 Group:          Applications/Multimedia
 License:        GPLv2+
@@ -10,7 +10,7 @@ Source1:        %{name}.desktop
 # Do not change sxiv binary ownership to root:root
 # Allows rpm-building the package by regular users
 Patch0:         sxiv-0.8.2-do-not-change-ownership.patch
-Patch1:         sxiv-0.8.2-optflags.patch
+Patch1:         sxiv-0.9-optflags.patch
 BuildRequires:  libX11-devel
 BuildRequires:  imlib2-devel
 BuildRequires:  desktop-file-utils
@@ -43,6 +43,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
 %{_datadir}/applications
 
 %changelog
+* Wed Aug 17 2011 Petr Sabata <contyk at redhat.com> - 0.9-1
+- 0.9 bump
+
 * Mon Jul 11 2011 Petr Sabata <contyk at redhat.com> - 0.8.2-2
 - Respect RPM_OPT_FLAGS again (#720162)
 


More information about the scm-commits mailing list