[packages/xbelld] - up to 0.3.4 - proper variable passing into makefile - added -lm
blekot
blekot at pld-linux.org
Tue Jun 4 16:26:28 CEST 2013
commit eac0ad09f59dbc179be7dffc0acea9f8c8374d35
Author: Lukasz Glebicki <blekot at pld-linux.org>
Date: Tue Jun 4 16:25:24 2013 +0200
- up to 0.3.4
- proper variable passing into makefile
- added -lm
xbelld.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/xbelld.spec b/xbelld.spec
index 9825c1e..cb79083 100644
--- a/xbelld.spec
+++ b/xbelld.spec
@@ -2,12 +2,12 @@
Summary: X bell replacement
Summary(pl.UTF-8): Zastępstwo dźwięku systemowego pod X
Name: xbelld
-Version: 0.3.3
+Version: 0.3.4
Release: 1
License: GPL v3
Group: X11/Applications
Source0: http://xbelld.googlecode.com/files/%{name}-%{version}.tbz2
-# Source0-md5: d6c9b96ac5ccd4a3072e4c9e7add6547
+# Source0-md5: 97bdba8c9c306af51e1abf228df3d9b9
URL: http://code.google.com/p/xbelld/
BuildRequires: alsa-lib-devel
BuildRequires: xorg-lib-libX11-devel
@@ -48,7 +48,8 @@ sygnału równocześnie ze zdefiniowaną akcją).
%build
%{__make} \
- CFLAGS="%{rpmcflags} -Wall -DVERSION=\"%{version}\" -std=gnu99 -DHAVE_ALSA"
+ CFLAGS="%{rpmcflags} -Wall -DVERSION="\\\"%{version}\\\"" -DHAVE_ALSA" \
+ LDFLAGS="%{rpmldflags} -lm"
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xbelld.git/commitdiff/eac0ad09f59dbc179be7dffc0acea9f8c8374d35
More information about the pld-cvs-commit
mailing list