packages: ytalk/ytalk.spec - fix build with --no-add-needed ldflag - use rp...

sparky sparky at pld-linux.org
Thu Jan 6 21:31:24 CET 2011


Author: sparky                       Date: Thu Jan  6 20:31:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build with --no-add-needed ldflag
- use rpmcppflags

---- Files affected:
packages/ytalk:
   ytalk.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: packages/ytalk/ytalk.spec
diff -u packages/ytalk/ytalk.spec:1.42 packages/ytalk/ytalk.spec:1.43
--- packages/ytalk/ytalk.spec:1.42	Mon Feb 12 23:09:26 2007
+++ packages/ytalk/ytalk.spec	Thu Jan  6 21:31:19 2011
@@ -68,7 +68,8 @@
 
 %build
 %{__autoconf}
-CPPFLAGS="-I/usr/include/ncurses" \
+LIBS="-ltinfo" \
+CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \
 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
 ./configure %{_target_platform} \
 	--prefix=%{_prefix} \
@@ -98,6 +99,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2011/01/06 20:31:19  sparky
+- fix build with --no-add-needed ldflag
+- use rpmcppflags
+
 Revision 1.42  2007/02/12 22:09:26  glen
 - tabs in preamble
 
@@ -200,37 +205,3 @@
 
 - added using CVS keywords in %changelog (for automating them).
 
-* Mon May 10 1999 Piotr Czerwiński <pius at pld.org.pl>
-  [3.1-5]
-- package is now FHS 2.0 compliant.
-
-* Mon Apr 19 1999 Tomasz Kłoczko <kloczek at rudy.mif.pg.gda.pl>
-  [3.1-4]
-- recompiles on new rpm,
-- added BuildPrereq: XFree86-devel, ncurses-devel,
-- removed man group from man pages,
-- gzipping man pages instead bzipping2.
-
-* Sat Nov 21 1998 Tomasz Kłoczko <kloczek at rudy.mif.pg.gda.pl>
-  [3.1-1d]
-- new autoconf based %build and %install,
-- added using $RPM_OPT_FLAGS during compile,
-- added "rm -rf $RPM_BUILD_ROOT" on top %install,
-- modified pl Summary,
-- added ytalk.patch with fix path to system ytalkrc (must be
-  /etc/ytalk) and modify default ytalkrc.
-
-* Thu Jul 23 1998 Wojtek Ślusarczyk <wojtek at shadow.eu.org>
-  [3.0.3-4d]
-- added pl translation,
-- added buildroot support,
-- added %verify in %config file,
-
-* Fri Apr 24 1998 Prospector System <bugs at redhat.com>
-- translations modified for de, fr, tr
-
-* Wed Apr 15 1998 Erik Troan <ewt at redhat.com>
-- built against new ncurses
-
-* Thu Jul 31 1997 Erik Troan <ewt at redhat.com>
-- built against glibc
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ytalk/ytalk.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list