diff options
-rw-r--r-- | debian/.git-dpm | 8 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 16 | ||||
-rw-r--r-- | debian/copyright | 33 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/links | 1 | ||||
-rw-r--r-- | debian/patches/0001-Use-obs-build-in-locations-and-executable-names-inst.patch | 61 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 3 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 2 |
13 files changed, 134 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm new file mode 100644 index 0000000..1a21f7b --- /dev/null +++ b/debian/.git-dpm @@ -0,0 +1,8 @@ +# see git-dpm(1) from git-dpm package +0928a36fed02c7c8415815d4b44649c5dfa3a276 +0928a36fed02c7c8415815d4b44649c5dfa3a276 +53ec11670b4264387ee59fe233e8122a39aa9174 +53ec11670b4264387ee59fe233e8122a39aa9174 +obs-build_20140918.orig.tar.gz +8c9c8f698ee82f82d4eb9de00da1cc6acc86ffbf +192320 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..48fb462 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +obs-build (20140918-1) unstable; urgency=medium + + * Initial release. (Closes: #762949) + + -- Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com> Fri, 26 Sep 2014 13:22:59 +0100 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..4fb0f7e --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +configs/sles11.conf
\ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2394373 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: obs-build +Section: devel +Priority: extra +Maintainer: Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com> +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.6.0 + +Package: obs-build +Architecture: all +Depends: ${perl:Depends}, rpm +Recommends: rpm2cpio, osc, libcrypt-ssleay-perl +Description: scripts for building RPM/debian packages for multiple distributions + This package provides scripts for building RPM and debian packages in + contained environments for various build distributions. These tools + are use by Open Build Service workers and openSUSE distribution by + default.
\ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fb55af5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: obs-build +Upstream-Contact: Adrian Schröter <adrian@suse.de> +Source: https://github.com/openSUSE/obs-build + + +Files: * +Copyright: 1997-2014 SuSE GmbH Nuernberg, Germany +License: GPL-2+ + +Files: debian/* +Copyright: 2014 Intel Corporation +License: GPL-2+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..e085f28 --- /dev/null +++ b/debian/links @@ -0,0 +1 @@ +usr/lib/build/configs/sl11.1.conf usr/lib/build/configs/sles11.conf
\ No newline at end of file diff --git a/debian/patches/0001-Use-obs-build-in-locations-and-executable-names-inst.patch b/debian/patches/0001-Use-obs-build-in-locations-and-executable-names-inst.patch new file mode 100644 index 0000000..49a2034 --- /dev/null +++ b/debian/patches/0001-Use-obs-build-in-locations-and-executable-names-inst.patch @@ -0,0 +1,61 @@ +From 0928a36fed02c7c8415815d4b44649c5dfa3a276 Mon Sep 17 00:00:00 2001 +From: Dimitri John Ledkov <dimitri.j.ledkov@intel.com> +Date: Wed, 1 Oct 2014 10:44:55 +0100 +Subject: Use obs-build in locations and executable names, instead of just + build. +Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ + +Signed-off-by: Dimitri John Ledkov <dimitri.j.ledkov@intel.com> +--- + Makefile | 6 +++--- + build | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index fd3ec66..59282cd 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,7 @@ + VERSION=0.1 + SCM=$(shell if test -d .svn; then echo svn; elif test -d .git; then echo git; fi) + DATE=$(shell date +%Y%m%d%H%M) +-BUILD=build ++BUILD=obs-build + + INITVM_ARCH=$(shell bash -c '. common_functions ; build_host_arch; echo $$BUILD_INITVM_ARCH') + +@@ -68,8 +68,8 @@ install: + install -m644 *.pm baselibs_global*.conf lxc.conf $(DESTDIR)$(pkglibdir) + install -m644 configs/* $(DESTDIR)$(pkglibdir)/configs + install -m644 build.1 $(DESTDIR)$(man1dir) +- ln -sf $(pkglibdir)/build $(DESTDIR)$(bindir)/build +- ln -sf $(pkglibdir)/vc $(DESTDIR)$(bindir)/buildvc ++ ln -sf $(pkglibdir)/build $(DESTDIR)$(bindir)/obs-build ++ ln -sf $(pkglibdir)/vc $(DESTDIR)$(bindir)/obs-buildvc + ln -sf $(pkglibdir)/unrpm $(DESTDIR)$(bindir)/unrpm + + # Allow initvm to be packaged seperately from the rest of build. This +diff --git a/build b/build +index 9f9fb72..0911d61 100755 +--- a/build ++++ b/build +@@ -13,8 +13,8 @@ if test "$0" = /sbin/init ; then + fi + + test -z "$BUILD_DIR" -a -e /.build/build.data -a -z "$BUILD_IGNORE_2ND_STAGE" && BUILD_DIR=/.build +-test -z "$BUILD_DIR" && BUILD_DIR=/usr/lib/build +-test -z "$BUILD_ROOT" && BUILD_ROOT=/var/tmp/build-root ++test -z "$BUILD_DIR" && BUILD_DIR=/usr/lib/obs-build ++test -z "$BUILD_ROOT" && BUILD_ROOT=/var/tmp/obs-build-root + test -z "$CONFIG_DIR" && CONFIG_DIR="$BUILD_DIR/configs" + + export BUILD_ARCH BUILD_HOST_ARCH BUILD_ROOT BUILD_RPMS BUILD_DIR BUILD_DEBUG +@@ -73,7 +73,7 @@ SIGNDUMMY= + DO_STATISTICS= + RUN_SHELL= + CCACHE= +-CACHE_DIR=/var/cache/build ++CACHE_DIR=/var/cache/obs-build + + + # This is for insserv diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..9b1a32c --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Use-obs-build-in-locations-and-executable-names-inst.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cbe925d --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..de5b794 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_14.04/build_(.*)\.orig\.tar\.gz
\ No newline at end of file |