SPECS: cpuspeed.spec - optflags; %config, %verify for config file

darekr darekr at pld-linux.org
Sat Dec 24 21:24:07 CET 2005


Author: darekr                       Date: Sat Dec 24 20:24:07 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- optflags; %config, %verify for config file

---- Files affected:
SPECS:
   cpuspeed.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/cpuspeed.spec
diff -u SPECS/cpuspeed.spec:1.8 SPECS/cpuspeed.spec:1.9
--- SPECS/cpuspeed.spec:1.8	Sat Aug  6 21:44:38 2005
+++ SPECS/cpuspeed.spec	Sat Dec 24 21:24:02 2005
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: optflags
 Summary:	CPU Frequency adjusting daemon
 Summary(pl):	Demon regulujący częstotliwość pracy CPU
 Name:		cpuspeed
@@ -36,7 +35,10 @@
 %patch2 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc} -fno-exceptions -Wall" \
+	COPTS="%{rpmcflags}"
+	
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -69,7 +71,7 @@
 %defattr(644,root,root,755)
 %doc CHANGES EXAMPLES FEATURES README TODO USAGE
 %attr(755,root,root) %{_sbindir}/*
-%attr(640,root,root) /etc/sysconfig/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
 %attr(754,root,root) /etc/rc.d/init.d/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -78,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/12/24 20:24:02  darekr
+- optflags; %config, %verify for config file
+
 Revision 1.8  2005/08/06 19:44:38  speedy
 - release 1
 
================================================================

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



More information about the pld-cvs-commit mailing list