Am Samstag 24 Oktober 2009 18:49:11 wrote Christian Boltz:
Hello,
on Freitag, 23. Oktober 2009, Cristian Morales Vega wrote:
Sometimes I find a package with a long changelog that has always lived directly in the .spec file. I would like to continue the changelog in a .changes file... but how should I convert all the existing entries?
Use sed ;-)
LANG=C rpm -q --changelog aaa_base |head -n30 | \ sed '1,/^%changelog/ d ; s§^* \(...\) \(...\) \([0-3][0-9]\) \([12][0-9][0-9][0-9]\) \(.*\)§------------------------------------------------------------- ------\n\1 \2 \3 12:34:56 CET \4 - \5\n§' Maybe we can make an Script for that and put it in an rpm-tools Package.
-- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org