Author: glen                         Date: Sat Mar 17 21:25:49 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sofficerc as %config

---- Files affected:
SPECS:
   openoffice.org.spec (1.735 -> 1.736) 

---- Diffs:

================================================================
Index: SPECS/openoffice.org.spec
diff -u SPECS/openoffice.org.spec:1.735 SPECS/openoffice.org.spec:1.736
--- SPECS/openoffice.org.spec:1.735     Sat Mar 17 22:06:46 2007
+++ SPECS/openoffice.org.spec   Sat Mar 17 22:25:44 2007
@@ -2284,8 +2284,6 @@
        %{__make} install \
                DESTDIR=$RPM_BUILD_ROOT
 
-       install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
-
        # Add in the regcomp tool since some people need it for 3rd party 
add-ons
        cp -f build/%{tag}/solver/%{upd}/unxlng*.pro/bin/regcomp{,.bin} 
$RPM_BUILD_ROOT%{_libdir}/%{name}/program/
 
@@ -2311,6 +2309,10 @@
        touch $RPM_BUILD_ROOT%{_libdir}/%{name}/share/dict/ooo/dictionary.lst
        %endif
 
+       # configs
+       install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+       mv 
$RPM_BUILD_ROOT{%{_libdir}/%{name}/program,%{_sysconfdir}/%{name}}/sofficerc
+
        %if %{with mozilla}
        install -d $RPM_BUILD_ROOT%{_browserpluginsdir}
        ln -s %{_libdir}/%{name}/program/libnpsoplugin.so 
$RPM_BUILD_ROOT%{_browserpluginsdir}
@@ -2534,7 +2536,9 @@
 %doc %{_libdir}/%{name}/LICENSE*
 %doc %{_libdir}/%{name}/*README*
 
-%dir %{_sysconfdir}/openoffice.org
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/sofficerc
+
 %dir %{_libdir}/%{name}
 %if %{with java}
 %dir %{_libdir}/%{name}/help/en
@@ -3883,6 +3887,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.736  2007/03/17 21:25:44  glen
+- sofficerc as %config
+
 Revision 1.735  2007/03/17 21:06:46  glen
 - updated ooo-build to 2.1.8, lets call package version the same?
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openoffice.org.spec?r1=1.735&r2=1.736&f=u

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

Reply via email to