From: Adam Dickmeiss Date: Mon, 29 Jun 2015 15:44:02 +0000 (+0000) Subject: Create .rpmmacros and inform X-Git-Url: http://jira.indexdata.com/?a=commitdiff_plain;h=aba11018ef5f1167c469695a4a628f48d873e343;p=git-tools-moved-to-github.git Create .rpmmacros and inform --- diff --git a/id-deb-build/id-pbuild.sh b/id-deb-build/id-pbuild.sh index 9a8f202..478d816 100755 --- a/id-deb-build/id-pbuild.sh +++ b/id-deb-build/id-pbuild.sh @@ -81,6 +81,7 @@ if test "$CENTOS_DIST"; then fi PRODUCT=$RNAME if test ! -d ~/rpmbuild; then + echo "Creating ~/rpmbuild" mkdir -p ~/pmbuild/BUILD mkdir -p ~/rpmbuild/RPMS/noarch mkdir -p ~/rpmbuild/RPMS/x86_64 @@ -88,6 +89,12 @@ if test "$CENTOS_DIST"; then mkdir -p ~/rpmbuild/SPECS mkdir -p ~/rpmbuild/SRPMS fi + if test ! -f ~/.rpmmacros; then + echo "Creating ~/.rpmmacros" + echo "%_topdir $HOME/rpmbuild" >~/.rpmmacros + echo "%_source_filedigest_algorithm 0" >>~/.rpmmacros + echo "%_binary_filedigest_algorithm 0" >>~/.rpmmacros + fi else centos=false fi