Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.9
build
_service:gitpkg:0016-Add-support-for-a-build.sc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:gitpkg:0016-Add-support-for-a-build.script-for-spec-rpm-builds-t.patch of Package build
From aa58fe54837b5c3d6c4590192f0d9f77b4380502 Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Fri, 20 Dec 2013 13:12:25 +0000 Subject: [PATCH] Add support for a build.script for spec/rpm builds too Note that rpm builds run from / whereas debian builds run from $TOPDIR/BUILD This allows all kinds of useful trickery to produce and publish rpms. Signed-off-by: David Greaves <david.greaves@jollamobile.com> --- build-recipe-spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-recipe-spec b/build-recipe-spec index 016fa05..e6e6d6e 100644 --- a/build-recipe-spec +++ b/build-recipe-spec @@ -211,6 +211,9 @@ recipe_build_spec() { "${rpmbopts[@]}" \ "$TOPDIR/SOURCES/$RECIPEFILE" \ > $BUILD_TARGET/.build.command + if test -e $BUILD_ROOT/$TOPDIR/SOURCES/build.script ; then + cp $BUILD_ROOT/$TOPDIR/SOURCES/build.script $BUILD_TARGET/.build.command + fi chmod 755 $BUILD_TARGET/.build.command check_exit enter_target needuser /.build.command < /dev/null -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor