diff --git a/packaging/copr/make-package.sh b/packaging/copr/make-package.sh index ad3611bb5..e1a088b7f 100644 --- a/packaging/copr/make-package.sh +++ b/packaging/copr/make-package.sh @@ -87,5 +87,5 @@ if [[ "$1" = "post" ]] ; then # shellcheck disable=SC2002 cat "$TOPDIR"/subsurface/packaging/copr/subsurface.spec | sed "s/%define latestVersion.*/%define latestVersion $GITVERSION/;s/DESCRIPTION/$DESCRIPTION/;s/SUMMARY/$SUMMARY/" > SPECS/subsurface.spec rpmbuild --verbose -bs "$(pwd)/SPECS/subsurface.spec" - copr build --nowait $REPO "$(pwd)/SRPMS/subsurface-$GITVERSION-1.fc*.src.rpm" + copr build --nowait $REPO "$(pwd)/SRPMS/subsurface-$GITVERSION"-1.fc*.src.rpm fi diff --git a/packaging/ubuntu/make-package.sh b/packaging/ubuntu/make-package.sh index d8be3df5d..cb168c57d 100644 --- a/packaging/ubuntu/make-package.sh +++ b/packaging/ubuntu/make-package.sh @@ -122,8 +122,8 @@ if [[ "$1" = "post" ]] ; then # daily vs. release if [[ "$GITREVISION" == "" ]] ; then # this is a release - dput ppa:subsurface/subsurface "$FOLDER-$rev~*.changes" + dput ppa:subsurface/subsurface "$FOLDER-$rev"~*.changes else - dput ppa:subsurface/subsurface-daily "$FOLDER-$rev~*.changes" + dput ppa:subsurface/subsurface-daily "$FOLDER-$rev"~*.changes fi fi