From 3708995e5f263e4dff0b9b20309e3f4ab2b01cf9 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 10 Apr 2014 17:44:05 +0530 Subject: [PATCH] Have the commit log and changelog reflect the nature of upstream sync Write the commit log and changelog in the spec file in a manner that reflects the fact that the sync was done by a script. --- sync-upstream.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync-upstream.sh b/sync-upstream.sh index 4e1a923..3a792f7 100755 --- a/sync-upstream.sh +++ b/sync-upstream.sh @@ -61,7 +61,7 @@ nv=$(perl -ne 's/^%define glibcversion (.+)/printf("%s-", $1)/e;' \ glibc.spec) # Our changelog entry. -changelog="* $cldate $clname <$clemail> - $nv\n- Sync with upstream $branch.\n" +changelog="* $cldate $clname <$clemail> - $nv\n- Auto-sync with upstream $branch.\n" # Change the glibcsrcdir variable, bump up the release number and add an extra # entry to the changelog. @@ -91,7 +91,7 @@ rm -f "$tmpfile" rm -rf "$srcdir" echo "+ Source prep is clean, so we're good to go." fedpkg new-sources "$srcdir.tar.gz" -git commit -a -m "Sync with upstream $branch." +git commit -a -m "Auto-sync with upstream $branch." fedpkg push fedpkg build echo "+ Done!"