From 1db82a709adfd374aa9707fa4f89b708cddee8ea Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 7 Oct 2010 15:01:26 -0400 Subject: rpmbuild-cwd: New file Define all the RPM variables to look at cwd, which matches Fedora's system. --- bin/rpmbuild-cwd | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/rpmbuild-cwd diff --git a/bin/rpmbuild-cwd b/bin/rpmbuild-cwd new file mode 100755 index 0000000..156e099 --- /dev/null +++ b/bin/rpmbuild-cwd @@ -0,0 +1,10 @@ +#!/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 .' "$@" -- cgit