[dwm] 5.9 bump

Petr Sabata psabata at fedoraproject.org
Mon Jul 11 08:06:37 UTC 2011


commit 04446b34b05cc2ce42b9b7cec9668739a2597762
Author: Petr Sabata <contyk at redhat.com>
Date:   Mon Jul 11 10:06:08 2011 +0200

    5.9 bump

 dwm-5.8.2-config.patch |   22 ----------------------
 dwm-5.9-config.patch   |   25 +++++++++++++++++++++++++
 dwm.spec               |    9 ++++++---
 3 files changed, 31 insertions(+), 25 deletions(-)
---
diff --git a/dwm-5.9-config.patch b/dwm-5.9-config.patch
new file mode 100644
index 0000000..4969863
--- /dev/null
+++ b/dwm-5.9-config.patch
@@ -0,0 +1,25 @@
+diff --git a/config.mk b/config.mk
+index 16ffac3..fb516d4 100644
+--- a/config.mk
++++ b/config.mk
+@@ -4,7 +4,7 @@ VERSION = 5.9
+ # Customize below to fit your system
+ 
+ # paths
+-PREFIX = /usr/local
++PREFIX = /usr
+ MANPREFIX = ${PREFIX}/share/man
+ 
+ X11INC = /usr/X11R6/include
+@@ -21,9 +21,9 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+ #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
++CFLAGS = ${RPM_OPT_FLAGS} -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
+ #LDFLAGS = -g ${LIBS}
+-LDFLAGS = -s ${LIBS}
++LDFLAGS = ${LIBS}
+ 
+ # Solaris
+ #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff --git a/dwm.spec b/dwm.spec
index 696184e..5e2724b 100644
--- a/dwm.spec
+++ b/dwm.spec
@@ -1,6 +1,6 @@
 Name:           dwm
-Version:        5.8.2
-Release:        9%{?dist}
+Version:        5.9
+Release:        1%{?dist}
 Summary:        Dynamic window manager for X
 
 %global         _dwmsourcedir       %{_usrsrc}/dwm-user-%{version}-%{release}
@@ -22,7 +22,7 @@ Requires:       dmenu, xterm, terminus-fonts
 # Default Fedora configuration for dwm
 Patch1:         fedora-config.patch
 # Install to /usr instead of /usr/local, respect opt. flags
-Patch2:         dwm-5.8.2-config.patch
+Patch2:         dwm-5.9-config.patch
 # Fedora config changes Mod1 to Mod4, adjust manpage
 Patch3:         dwm-5.8.2-modmask.patch
 # Fedora notes referring to dwm-user in dwm(1)
@@ -86,6 +86,9 @@ install -m644 %{SOURCE4} %{buildroot}%{_datadir}/xsessions/dwm-user.desktop
 %{_dwmsourcedir}
 
 %changelog
+* Mon Jul 11 2011 Petr Sabata <contyk at redhat.com> - 5.9-1
+- 5.9 bump
+
 * Mon Jun 27 2011 Petr Sabata <contyk at redhat.com> - 5.8.2-9
 - Remove now obsolete defattr
 - Move dwm-start(.1) substitutions to install section since we don't want to


More information about the scm-commits mailing list