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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   24-Oct-2003 18:48:49
  Branch: HEAD                             Handle: 2003102417484900

  Modified files:
    openpkg-src/gocr        gocr.spec

  Log:
    back out my simplification: the permissions are wrong, so it's better
    to stick with the manual installation

  Summary:
    Revision    Changes     Path
    1.3         +19 -1      openpkg-src/gocr/gocr.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gocr/gocr.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 gocr.spec
  --- openpkg-src/gocr/gocr.spec        24 Oct 2003 16:47:17 -0000      1.2
  +++ openpkg-src/gocr/gocr.spec        24 Oct 2003 16:48:49 -0000      1.3
  @@ -69,7 +69,25 @@
   
   %install
       rm -rf $RPM_BUILD_ROOT
  -    %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT%{l_prefix}
  +
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/include \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man1
  +    %{l_shtool} install -c -s -m 755 \
  +        bin/gocr \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin/
  +    %{l_shtool} install -c -m 644 \
  +        src/gocr.h \
  +        $RPM_BUILD_ROOT%{l_prefix}/include/
  +    %{l_shtool} install -c -m 644 \
  +        src/libPgm2asc.a \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib/
  +    %{l_shtool} install -c -m 644 \
  +        man/man1/gocr.1 \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man1/
  +
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to