From 2cf3ca33bd7526e0d0b72c2093102b0d38728328 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 1 Jun 2023 10:49:18 +1000 Subject: [PATCH] suppress change-log output --- rename-e-smith-pkg.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index c75c000..895b201 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -257,7 +257,7 @@ sed -i 's/^BuildRequires:.*e-smith/BuildRequires: smeserver/g' "$TARGETPKG.spec" # - add changelog entry (Bugzilla #12359) # Bump the release and add changelog -change-log "$TARGETPKG.spec" +change-log "$TARGETPKG.spec" >/dev/null 2>&1 # and edit in the reason and add by whom sed -i "s/fix \[SME: \]/Rename to $TARGETPKG \[SME: 12359\]/" "$TARGETPKG.spec" sed -i 's/ME MYSELF /rename-e-smith-pkg.sh by Trevor Batley /' "$TARGETPKG.spec" @@ -272,13 +272,13 @@ sed -i "/^Source:/ s/tar.xz/tar.gz/" "$TARGETPKG.spec" git add "$TARGETPKG.spec" #Delete archivefilename file if it follows the new standard -if [ -e archivefilename ] ; then git rm archivefilename ; fi +if [ -e archivefilename ] ; then git rm archivefilename $QUIET ; fi #Update createlinks # - if there is an e-smith--update event rename to smeserver--update and add symlink git commit -m "rename-e-smith-pkg script (#12359)" $QUIET -git push origin master $QUIET +git push $QUIET #Convert repository to a Regular Repository (rather than fork)