SPECS: hwreport.spec - CFLAGS are back - rel 2

shadzik shadzik at pld-linux.org
Sun Jul 22 19:50:05 CEST 2007


Author: shadzik                      Date: Sun Jul 22 17:50:05 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- CFLAGS are back
- rel 2

---- Files affected:
SPECS:
   hwreport.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/hwreport.spec
diff -u SPECS/hwreport.spec:1.7 SPECS/hwreport.spec:1.8
--- SPECS/hwreport.spec:1.7	Thu Jul 19 18:51:46 2007
+++ SPECS/hwreport.spec	Sun Jul 22 19:50:00 2007
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Zbieranie informacji dla strony hardware4linux
 Name:		hwreport
 Version:	0.9.1
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://hardware4linux.info/res/%{name}-%{version}.tar.bz2
@@ -46,7 +46,7 @@
 sbindir = %{_sbindir}
 all: Makefile $(TARGET)
 $(TARGET):  $(OBJECTS)
-	$(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
 
 clean:
 	rm -f $(OBJECTS) $(TARGET)
@@ -60,7 +60,8 @@
 
 %build
 %{__make} \
-	CC="%{__cc}"
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
 	LDFLAGS="%{rpmldflags}"
 
 %install
@@ -83,6 +84,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2007/07/22 17:50:00  shadzik
+- CFLAGS are back
+- rel 2
+
 Revision 1.7  2007/07/19 16:51:46  shadzik
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hwreport.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list