SPECS: rwho.spec - added flags-fixes patch - pass rpm*flags and __...
sparky
sparky at pld-linux.org
Thu Aug 10 14:46:22 CEST 2006
Author: sparky Date: Thu Aug 10 12:46:22 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added flags-fixes patch
- pass rpm*flags and __cc throught ./configure
---- Files affected:
SPECS:
rwho.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: SPECS/rwho.spec
diff -u SPECS/rwho.spec:1.33 SPECS/rwho.spec:1.34
--- SPECS/rwho.spec:1.33 Thu Aug 10 14:21:40 2006
+++ SPECS/rwho.spec Thu Aug 10 14:46:17 2006
@@ -20,6 +20,7 @@
Patch2: %{name}-fixbcast.patch
Patch3: %{name}-fixhostname.patch
Patch4: %{name}-debian-0.17-8.diff
+Patch5: %{name}-flags-fixes.patch
BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
@@ -67,12 +68,16 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch5 -p1
%build
-./configure
+CFLAGS="%{rpmcflags} -w"
+LDFLAGS="%{rpmldflags}"
+export CFLAGS LDFLAGS
+./configure \
+ --with-c-compiler="%{__cc}"
-%{__make} \
- CFLAGS="%{rpmcflags} -w"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
@@ -127,6 +132,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2006/08/10 12:46:17 sparky
+- added flags-fixes patch
+- pass rpm*flags and __cc throught ./configure
+
Revision 1.33 2006/08/10 12:21:40 baggins
- release 16
- added required rwhod user
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/rwho.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list