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: 08-Jul-2003 16:16:50
Branch: HEAD Handle: 2003070815165000
Modified files:
openpkg-re openpkg-dev
Log:
print same message under release and lint commands
Summary:
Revision Changes Path
1.120 +8 -8 openpkg-re/openpkg-dev
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/openpkg-dev
============================================================================
$ cvs diff -u -r1.119 -r1.120 openpkg-dev
--- openpkg-re/openpkg-dev 8 Jul 2003 13:32:37 -0000 1.119
+++ openpkg-re/openpkg-dev 8 Jul 2003 14:16:50 -0000 1.120
@@ -1115,20 +1115,20 @@
fi
if [ ".${BRANCH}" = .HEAD ]; then
- echo "++ linting ${name}.spec for HEAD branch"
+ echo "++ linting ${name}.spec (package specification)"
perl ${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
if [ -f rc.${name} ]; then
- echo "++ linting rc.${name} for HEAD branch"
+ echo "++ linting rc.${name} (run-command script)"
perl ${OPENPKG_WORK}/re/rclint.pl
${OPENPKG_WORK}/src/${name}/rc.${name}
if [ $? -gt 0 ]; then
die "unacceptable run commands:
${OPENPKG_WORK}/src/${name}/rc.${name}"
fi
fi
if [ -f fsl.${name} ]; then
- echo "++ linting fsl.${name} for HEAD branch"
+ echo "++ linting fsl.${name} (OSSP fsl configuration)"
perl ${OPENPKG_WORK}/re/fsllint.pl
${OPENPKG_WORK}/src/${name}/fsl.${name}
if [ $? -gt 0 ]; then
die "unacceptable fsl configuration:
${OPENPKG_WORK}/src/${name}/fsl.${name}"
@@ -1142,7 +1142,7 @@
--specfile ${OPENPKG_WORK}/src/${name}/${name}.spec`
bin_rpmdir=`HOME=${OPENPKG_WORK} ${OPENPKG_INST}/bin/rpm --eval
'%{_rpmdir}'`
if [ -f "$bin_rpmdir/$bin_rpmfile" ]; then
- echo "++ linting ${bin_rpmfile} for HEAD branch"
+ echo "++ linting ${bin_rpmfile} (binary package)"
perl ${OPENPKG_WORK}/re/rpmlint.pl --check=layout,attrib
$bin_rpmdir/$bin_rpmfile
if [ $? -gt 0 ]; then
die "unacceptable specification: $bin_rpmdir/$bin_rpmfile"
@@ -1681,14 +1681,14 @@
path=`echo ${file} | sed -e "s;/$name\$;;"`
name=`echo ${name} | sed -e 's;\.spec$;;'`
- echo "++ linting package specification: $file"
+ echo "++ linting $file (package specification)"
perl ${OPENPKG_WORK}/re/speclint.pl $file
if [ $? -gt 0 -a $force -ne 1 ]; then
die "unacceptable specification"
fi
if [ -f ${path}/rc.${name} ]; then
- echo "++ linting run commands ${path}/rc.${name} for HEAD branch"
+ echo "++ linting ${path}/rc.${name} (run-command script)"
perl ${OPENPKG_WORK}/re/rclint.pl ${path}/rc.${name}
if [ $? -gt 0 -a $force -ne 1 ]; then
die "unacceptable run commands: ${path}/rc.${name}"
@@ -1696,7 +1696,7 @@
fi
if [ -f ${path}/fsl.${name} ]; then
- echo "++ linting fsl configuration ${path}/fsl.${name} for HEAD
branch"
+ echo "++ linting ${path}/fsl.${name} (OSSP fsl configuration)"
perl ${OPENPKG_WORK}/re/fsllint.pl ${path}/fsl.${name}
if [ $? -gt 0 -a $force -ne 1 ]; then
die "unacceptable fsl configuration: ${path}/fsl.${name}"
@@ -1708,7 +1708,7 @@
bin_rpmfile=`HOME=${OPENPKG_WORK} $E/bin/rpm -q --qf
"${bin_template}" --specfile $file`
bin_rpmdir=`HOME=${OPENPKG_WORK} ${OPENPKG_INST}/bin/rpm --eval
'%{_rpmdir}'`
if [ -f "$bin_rpmdir/$bin_rpmfile" ]; then
- echo "++ linting binary package: ${bin_rpmdir}/${bin_rpmfile}"
+ echo "++ linting ${bin_rpmdir}/${bin_rpmfile} (binary package)"
perl ${OPENPKG_WORK}/re/rpmlint.pl --check=layout,attrib
$bin_rpmdir/$bin_rpmfile
if [ $? -gt 0 -a $force -ne 1 ]; then
die "unacceptable specification: $bin_rpmdir/$bin_rpmfile"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]