Author: sls                          Date: Thu Feb  7 17:07:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added paths.patch (seding config.h is pointless - it's overridden by make)
- configs again in /etc/powersoftplus

---- Files affected:
SPECS:
   powersoftplus.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/powersoftplus.spec
diff -u SPECS/powersoftplus.spec:1.16 SPECS/powersoftplus.spec:1.17
--- SPECS/powersoftplus.spec:1.16       Thu Feb  7 17:02:20 2008
+++ SPECS/powersoftplus.spec    Thu Feb  7 18:07:06 2008
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):     Narzędzia do monitorowania zasilaczy awaryjnych UPS 
firmy EVER
 Name:          powersoftplus
 Version:       0.1.8
-Release:       0.2
+Release:       0.3
 License:       GPL
 Group:         Daemons
 Source0:       http://www.ever.com.pl/pl/pliki/%{name}-%{version}-x86.tar.gz
@@ -17,6 +17,7 @@
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Patch0:                %{name}-make.patch
+Patch1:                %{name}-paths.patch
 URL:           http://www.ever.com.pl/powersoft_prod.php
 BuildRequires: autoconf
 BuildRequires: automake
@@ -29,7 +30,7 @@
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _sysconfdir     /etc/psplus
+%define                _sysconfdir     /etc/powersoftplus
 
 %description
 This package contains some utilities for EVER UPS monitoring.
@@ -78,6 +79,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal}
@@ -88,7 +90,6 @@
        --bindir=%{_sbindir} \
        --prefix=/usr
 
-sed -i -e 's#CONFIG_PATH.*#CONFIG_PATH "%{_sysconfdir}"#g' config.h
 %{__make} \
        CC="%{__cc}" \
        CXX="%{__cxx}" \
@@ -186,6 +187,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2008-02-07 17:07:06  sls
+- added paths.patch (seding config.h is pointless - it's overridden by make)
+- configs again in /etc/powersoftplus
+
 Revision 1.16  2008-02-07 16:02:20  sls
 - use config.h to build psmain
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/powersoftplus.spec?r1=1.16&r2=1.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to