SPECS: lm_sensors.spec - do not use macro for /etc/sysconfig

glen glen at pld-linux.org
Wed Sep 27 15:43:26 CEST 2006


Author: glen                         Date: Wed Sep 27 13:43:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- do not use macro for /etc/sysconfig

---- Files affected:
SPECS:
   lm_sensors.spec (1.158 -> 1.159) 

---- Diffs:

================================================================
Index: SPECS/lm_sensors.spec
diff -u SPECS/lm_sensors.spec:1.158 SPECS/lm_sensors.spec:1.159
--- SPECS/lm_sensors.spec:1.158	Wed Sep 27 12:48:07 2006
+++ SPECS/lm_sensors.spec	Wed Sep 27 15:43:21 2006
@@ -27,11 +27,11 @@
 Patch2:		%{name}-iconv-in-libc.patch
 Patch3:		%{name}-sensors-detect-PATH.patch
 URL:		http://www.lm-sensors.nu/
-BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	bison
 BuildRequires:	flex >= 2.5.1
 BuildRequires:	perl-modules >= 5.6
 BuildRequires:	rpm-perlprov >= 3.0.3-16
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	rrdtool-devel >= 1.2.10
 BuildRequires:	sysfsutils-devel
 Requires:	dev >= 2.9.0-13
@@ -164,8 +164,8 @@
 	CFLAGS="%{rpmcflags} -I../../kernel/include"
 
 # PLD-ize fancontrol
-%{__sed} -i -e "s@/etc/fancontrol@%{_sysconfdir}/sysconfig/fancontrol at g" prog/pwm/fancontrol
-%{__sed} -i -e "s@/etc/fancontrol@%{_sysconfdir}/sysconfig/fancontrol at g" prog/pwm/pwmconfig
+%{__sed} -i -e "s@/etc/fancontrol@/etc/sysconfig/fancontrol at g" prog/pwm/fancontrol
+%{__sed} -i -e "s@/etc/fancontrol@/etc/sysconfig/fancontrol at g" prog/pwm/pwmconfig
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -267,6 +267,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.159  2006/09/27 13:43:21  glen
+- do not use macro for /etc/sysconfig
+
 Revision 1.158  2006/09/27 10:48:07  czarny
 - fancontrol.init added
 - PLD-ized fancontrol to use /etc/sysconfig instead of /etc
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lm_sensors.spec?r1=1.158&r2=1.159&f=u



More information about the pld-cvs-commit mailing list