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.
This commit is contained in:
Siddhesh Poyarekar 2014-04-10 17:44:05 +05:30
parent b5ec0026f9
commit 3708995e5f

View File

@ -61,7 +61,7 @@ nv=$(perl -ne 's/^%define glibcversion (.+)/printf("%s-", $1)/e;' \
glibc.spec) glibc.spec)
# Our changelog entry. # 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 # Change the glibcsrcdir variable, bump up the release number and add an extra
# entry to the changelog. # entry to the changelog.
@ -91,7 +91,7 @@ rm -f "$tmpfile"
rm -rf "$srcdir" rm -rf "$srcdir"
echo "+ Source prep is clean, so we're good to go." echo "+ Source prep is clean, so we're good to go."
fedpkg new-sources "$srcdir.tar.gz" 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 push
fedpkg build fedpkg build
echo "+ Done!" echo "+ Done!"