OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 29-Aug-2005 15:43:28 Branch: HEAD Handle: 2005082914432800 Modified files: openpkg-src/ase ase.spec Log: care about config files Summary: Revision Changes Path 1.2 +9 -7 openpkg-src/ase/ase.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/ase/ase.spec ============================================================================ $ cvs diff -u -r1.1 -r1.2 ase.spec --- openpkg-src/ase/ase.spec 29 Aug 2005 13:16:35 -0000 1.1 +++ openpkg-src/ase/ase.spec 29 Aug 2005 13:43:28 -0000 1.2 @@ -71,9 +71,10 @@ %{l_shtool} mkdir -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/cgi \ - $RPM_BUILD_ROOT%{l_prefix}/var/ase \ + $RPM_BUILD_ROOT%{l_prefix}/etc/ase \ + $RPM_BUILD_ROOT%{l_prefix}/libexec/ase \ $RPM_BUILD_ROOT%{l_prefix}/share/ase \ - $RPM_BUILD_ROOT%{l_prefix}/libexec/ase + $RPM_BUILD_ROOT%{l_prefix}/var/ase %{l_shtool} install -c -m 664 \ ase.db ase.sdb \ @@ -83,7 +84,7 @@ -e 's;/usr/bin/env perl;%{l_prefix}/bin/perl;' \ -e 's;\(-path_libdir => .\).\(.,\);\1%{l_prefix}/libexec/ase\2;' \ -e 's;\(-path_vardir => .\).\(.,\);\1%{l_prefix}/var/ase\2;' \ - -e 's;\(-path_datdir => .\).\(.,\);\1%{l_prefix}/share/ase\2;' \ + -e 's;\(-path_datdir => .\).\(.,\);\1%{l_prefix}/etc/ase\2;' \ ase.pl \ $RPM_BUILD_ROOT%{l_prefix}/bin/ase @@ -91,7 +92,7 @@ -e 's;/usr/bin/env perl;%{l_prefix}/bin/perl;' \ -e 's;\(-path_libdir => .\).\(.,\);\1%{l_prefix}/libexec/ase\2;' \ -e 's;\(-path_vardir => .\).\(.,\);\1%{l_prefix}/var/ase\2;' \ - -e 's;\(-path_datdir => .\).\(.,\);\1%{l_prefix}/share/ase\2;' \ + -e 's;\(-path_datdir => .\).\(.,\);\1%{l_prefix}/etc/ase\2;' \ ase.cgi \ $RPM_BUILD_ROOT%{l_prefix}/cgi/ @@ -105,12 +106,13 @@ %{l_shtool} install -c -m 744 \ ase.css ase.html ase.img.*.png \ - $RPM_BUILD_ROOT%{l_prefix}/share/ase/ + $RPM_BUILD_ROOT%{l_prefix}/etc/ase/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ - '%dir %attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/ase' \ - '%attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/ase/*' + '%config %{l_prefix}/etc/ase/*' \ + '%config(noreplace) %attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/ase/*' \ + '%dir %attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/ase' %files -f files @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org