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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   28-Jan-2003 14:49:20
  Branch: HEAD                             Handle: 2003012813491901

  Modified files:
    openpkg-src/lesstif     lesstif.spec
    openpkg-web             news.txt

  Log:
    Explicitly create directories, and strip binaries

  Summary:
    Revision    Changes     Path
    1.3         +15 -0      openpkg-src/lesstif/lesstif.spec
    1.3078      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/lesstif/lesstif.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 lesstif.spec
  --- openpkg-src/lesstif/lesstif.spec  28 Jan 2003 13:12:29 -0000      1.2
  +++ openpkg-src/lesstif/lesstif.spec  28 Jan 2003 13:49:20 -0000      1.3
  @@ -61,6 +61,20 @@
       CXXFLAGS="%{l_cxxflags -O}" \
       CPPFLAGS="%{l_cppflags}" \
       LDFLAGS="%{l_ldflags}" \
  +
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/include/Dt \
  +        $RPM_BUILD_ROOT%{l_prefix}/include/Mrm \
  +        $RPM_BUILD_ROOT%{l_prefix}/include/Xm \
  +        $RPM_BUILD_ROOT%{l_prefix}/include/uil \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib/X11/app-defaults \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib/X11/config \
  +        $RPM_BUILD_ROOT%{l_prefix}/lib/X11/mwm \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man1 \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man3 \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man5
  +
       ./configure \
           --prefix=%{l_prefix} \
           --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
  @@ -74,6 +88,7 @@
       rm -rf $RPM_BUILD_ROOT
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/LessTif
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.3077 -r1.3078 news.txt
  --- openpkg-web/news.txt      28 Jan 2003 13:08:59 -0000      1.3077
  +++ openpkg-web/news.txt      28 Jan 2003 13:49:19 -0000      1.3078
  @@ -1,3 +1,4 @@
  +28-Jan-2003: Upgraded package: P<lesstif-0.93.36-20030128>
   28-Jan-2003: New package: P<lesstif-0.93.36-20030128>
   28-Jan-2003: Upgraded package: P<fsl-1.0.7-20030128>
   28-Jan-2003: Upgraded package: P<bochs-2.0.2-20030128>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to