This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit c8d5b58a7524fca3513dc3839941427f3f709f6c Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Oct 14 13:12:13 2014 +0200 build-rpm-package: become able to substitute %{name} in SourceN: fields. --- bin/build-rpm-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index 01dda79..8d4ab19 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -201,7 +201,7 @@ build_packages() { ( cd $PROJECT && QUILT_PATCHES=debian/patches quilt push -a && rm .pc/ -Rf; ) fi - cat $PROJECT.spec | egrep "^Source[1-9]+:.*" | awk '{ print $2 }' | while read source_file; do + cat $PROJECT.spec | egrep "^Source[1-9]+:.*" | sed "s/%\{name\}/$PROJECT/" | awk '{ print $2 }' | while read source_file; do find $PROJECT/rpm/$source_file -maxdepth 0 1> /dev/null && cp $PROJECT/rpm/$source_file $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES/ && continue find $PROJECT/$source_file -maxdepth 0 1> /dev/null && cp $PROJECT/$source_file $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES/ done -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git