#!/bin/sh
cat $1 | /bin/sed -n '1,/^%changelog[[:space:]]*$/p' 
