SPECS: pcmciautils.spec - use bison instead of yacc - avoid using ...

qboosh qboosh at pld-linux.org
Wed Nov 16 00:05:14 CET 2005


Author: qboosh                       Date: Tue Nov 15 23:05:14 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use bison instead of yacc
- avoid using running kernel headers (use llh instead)
- use optflags, avoid stripping on build

---- Files affected:
SPECS:
   pcmciautils.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/pcmciautils.spec
diff -u SPECS/pcmciautils.spec:1.3 SPECS/pcmciautils.spec:1.4
--- SPECS/pcmciautils.spec:1.3	Tue Nov 15 23:36:12 2005
+++ SPECS/pcmciautils.spec	Wed Nov 16 00:05:09 2005
@@ -14,6 +14,7 @@
 Source0:	http://kernel.org/pub/linux/utils/kernel/pcmcia/%{name}-%{version}.tar.bz2
 # Source0-md5:	ff3cb012fd1a8801e912054b45420ac2
 URL:		http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
+BuildRequires:	bison
 BuildRequires:	flex
 BuildRequires:	sed >= 4.0
 BuildRequires:	sysfsutils-devel >= 1.3.0
@@ -47,9 +48,12 @@
 sed -i -e "s#UDEV =.*#UDEV = true#g" Makefile
 %endif
 
-%{__make}
-#	CFLAGS="%{rpmcflags}" \
-#	LDFLAGS="%{rpmldflags}"
+%{__make} \
+	KERNEL_DIR=/usr \
+	YACC="bison -y" \
+	CC="%{__cc}" \
+	OPTIMIZATION="%{rpmcflags}" \
+	STRIPCMD=true
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -83,6 +87,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/11/15 23:05:09  qboosh
+- use bison instead of yacc
+- avoid using running kernel headers (use llh instead)
+- use optflags, avoid stripping on build
+
 Revision 1.3  2005/11/15 22:36:12  qboosh
 - pl cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pcmciautils.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list