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: 05-Aug-2003 09:50:21 Branch: HEAD Handle: 2003080508502100 Modified files: openpkg-re openpkg-dev Log: make sure speclint uses the right RPM Summary: Revision Changes Path 1.137 +3 -3 openpkg-re/openpkg-dev ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/openpkg-dev ============================================================================ $ cvs diff -u -r1.136 -r1.137 openpkg-dev --- openpkg-re/openpkg-dev 30 Jul 2003 12:30:11 -0000 1.136 +++ openpkg-re/openpkg-dev 5 Aug 2003 07:50:21 -0000 1.137 @@ -1123,7 +1123,7 @@ if [ ".${BRANCH}" = .HEAD ]; then echo "++ linting ${name}.spec (package specification)" - HOME=${OPENPKG_WORK} perl ${OPENPKG_WORK}/re/speclint.pl ${OPENPKG_WORK}/src/${name}/${name}.spec + HOME=${OPENPKG_WORK} perl ${OPENPKG_WORK}/re/speclint.pl --rpm=${OPENPKG_INST}/bin/rpm ${OPENPKG_WORK}/src/${name}/${name}.spec if [ $? -gt 0 ]; then die "unacceptable specification: ${OPENPKG_WORK}/src/${name}/${name}.spec" fi @@ -1693,7 +1693,7 @@ name=`echo ${name} | sed -e 's;\.spec$;;'` echo "++ linting $file (package specification)" - HOME=${OPENPKG_WORK} perl ${OPENPKG_WORK}/re/speclint.pl $file + HOME=${OPENPKG_WORK} perl ${OPENPKG_WORK}/re/speclint.pl --rpm=${OPENPKG_INST}/bin/rpm $file if [ $? -gt 0 -a $force -ne 1 ]; then die "unacceptable specification" fi @@ -1952,7 +1952,7 @@ for file in $files; do TERM=${TERM}-color command vim "${file}" if [ ".${OPENPKG_MODE}" = .developer -a ".${B}" = .HEAD -o $force -ne 0 ]; then - HOME=${OPENPKG_WORK} perl ${OPENPKG_WORK}/re/speclint.pl ${file} + HOME=${OPENPKG_WORK} perl ${OPENPKG_WORK}/re/speclint.pl --rpm=${OPENPKG_INST}/bin/rpm ${file} if [ $? -gt 0 ]; then die "unacceptable specification: ${file}" fi @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]