#!/bin/sh
#=============================================================================#
#                    Add and edit changelog to RPM spec                       #
#=============================================================================#
# (C) Denis Smirnov <mithraen@altlinux.ru>			             2 Nov 20004  #
#=============================================================================#
SPEC=$1

if [ "$1" == "" ]; then
  echo "Use: $0 <spec-filename>"
  exit -1
fi  

if add_changelog $SPEC; then
	cl-edit "$SPEC"
fi

