mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-21 13:34:34 +03:00
516c1340b3
And move everything that was in it directly in `ci/`. There's a bunch more cleanups here that we need to do (and more changes to upstream from the rpm-ostree copies of this).
12 lines
517 B
Bash
Executable File
12 lines
517 B
Bash
Executable File
#!/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 <walters@verbum.org>
|
|
|
|
pwd=$(pwd)
|
|
exec rpmbuild --define "_sourcedir ${pwd}" --define "_specdir ${pwd}" --define "_builddir ${pwd}" --define "_srcrpmdir ${pwd}" --define "_rpmdir ${pwd}" --define "_buildrootdir ${pwd}/.build" "$@"
|