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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-re                       Date:   24-Mar-2003 16:17:39
  Branch: HEAD                             Handle: 2003032415173900

  Modified files:
    openpkg-re              openpkg-dev

  Log:
    ok, let's rock and no longer allow a package to be released before
    speclint agreed

  Summary:
    Revision    Changes     Path
    1.67        +7  -1      openpkg-re/openpkg-dev
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/openpkg-dev
  ============================================================================
  $ cvs diff -u -r1.66 -r1.67 openpkg-dev
  --- openpkg-re/openpkg-dev    22 Mar 2003 20:52:20 -0000      1.66
  +++ openpkg-re/openpkg-dev    24 Mar 2003 15:17:39 -0000      1.67
  @@ -789,6 +789,12 @@
               die "${OPENPKG_WORK}/src/${name}/${name}.spec not found"
           fi
   
  +        echo "++ linting package specification (${name}.spec)"
  +        ${OPENPKG_WORK}/re/speclint.pl ${OPENPKG_WORK}/src/${name}/${name}.spec 
  +        if [ $? -gt 0 ]; then
  +            die "unacceptable specification: 
${OPENPKG_WORK}/src/${name}/${name}.spec"
  +        fi
  +
           echo "++ determine information about old version"
           tmpfile="${OPENPKG_TEMP}/${name}${GUID}"
           cvs_rev=`cd ${OPENPKG_WORK}; cvs stat src/${name}/${name}.spec 2>/dev/null 
| awk '/Repository revision:/ { print $3; }'`
  @@ -828,7 +834,7 @@
           else
               (cd ${OPENPKG_WORK}; cvs -d ${OPENPKG_REPO} -n up web/news.txt) 
>/dev/null 2>&1
           fi
  -        if [   ".${rpm_version_old}" = . -a ".${rpm_version_new}" != . ]; then
  +        if [ ".${rpm_version_old}" = . -a ".${rpm_version_new}" != . ]; then
               package_type="New"
           else
               package_type="Upgraded"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to