#!/bin/sh # rpmbuild-cwd: # Run "rpmbuild", defining all RPM variables to use the current directory. # This matches Fedora's system. # # Licensed under the new-BSD license (http://www.opensource.org/licenses/bsd-license.php) # Copyright (C) 2010 Red Hat, Inc. # Written by Colin Walters exec rpmbuild --define '_sourcedir .' --define '_specdir .' --define '_builddir .' --define '_srcrpmdir .' --define '_rpmdir .' "$@"