OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   21-Oct-2009 21:27:47
  Branch: HEAD                             Handle: 2009102120274700

  Modified files:
    openpkg-src/json        json.spec

  Log:
    make json[2].js easily accessible through /json/ URL prefix

  Summary:
    Revision    Changes     Path
    1.131       +8  -1      openpkg-src/json/json.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/json/json.spec
  ============================================================================
  $ cvs diff -u -r1.130 -r1.131 json.spec
  --- openpkg-src/json/json.spec        21 Oct 2009 19:25:12 -0000      1.130
  +++ openpkg-src/json/json.spec        21 Oct 2009 19:27:47 -0000      1.131
  @@ -152,6 +152,12 @@
           json.js json2.js $RPM_BUILD_ROOT%{l_prefix}/share/json/
       %{l_shtool} install -c -m 644 \
           %{SOURCE rfc4627.txt} $RPM_BUILD_ROOT%{l_prefix}/share/json/
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d
  +    ( echo "Alias /json/ %{l_prefix}/share/json/"
  +    ) >json.conf
  +    %{l_shtool} install -c -m 644 \
  +        json.conf $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/
       %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl1} install
       %{l_prefix}/bin/perl-openpkg -d JSON-PC-%{V_api_pl2} install
       %{l_prefix}/bin/perl-openpkg -d JSON-DWIW-%{V_api_pl3} install
  @@ -159,7 +165,8 @@
       %{l_prefix}/bin/perl-openpkg -d JavaScript-Dumper-%{V_api_pl5} install
       %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  -        %{l_files_std} `cat perl-openpkg-files`
  +        %{l_files_std} `cat perl-openpkg-files` \
  +        '%config %{l_prefix}/etc/apache/apache.d/*'
   
   %files -f files
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to