Accepting request 34401 from openSUSE:Tools

Copy from openSUSE:Tools/build based on submit request 34401 from user coolo

OBS-URL: https://build.opensuse.org/request/show/34401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=26
This commit is contained in:
OBS User autobuild 2010-03-09 15:59:01 +00:00 committed by Git OBS Bridge
commit 9ce32130ba
5 changed files with 30 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec61bd1966eef22cd22444dd753be2910cac3f8665a30fa8e264cef886f009f2
size 99327

3
build-2010.03.08.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:398c6cb2414a79a72677235e11736063b09cbf25b11c792a1fe3fd0de6df52fd
size 100257

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Mar 8 12:07:03 UTC 2010 - adrian@suse.de
- create default.conf symlink to correct *.conf based on
%suse_version and %sles_version macros
-------------------------------------------------------------------
Thu Feb 25 08:22:52 UTC 2010 - adrian@suse.de
- add dependency to tar (needed for deb builds)
- use current git
* Added '--uid uid:gid' feature to specify abuild id in chroot
(by David Greaves)
-------------------------------------------------------------------
Sat Feb 20 10:49:00 UTC 2010 - adrian@suse.de

View File

@ -1,6 +1,6 @@
Format: 1.0
Source: build
Version: 2010.02.19
Version: 2010.03.08
Binary: build
Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: all

View File

@ -1,5 +1,5 @@
#
# spec file for package build (Version 2010.02.19)
# spec file for package build (Version 2010.03.08)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -23,7 +23,7 @@ License: GPLv2+
Group: Development/Tools/Building
AutoReqProv: on
Summary: A Script to Build SUSE Linux RPMs
Version: 2010.02.19
Version: 2010.03.08
Release: 1
# osc rm build-*tar.bz2
# REVISION=$(svn info https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/build | sed -ne "/Revision: /s///p")
@ -48,6 +48,7 @@ Requires: bash
Requires: perl
Requires: perl-TimeDate
Requires: binutils
Requires: tar
%description
This package provides a script for building RPMs for SUSE Linux in a
@ -62,7 +63,15 @@ chroot environment.
%install
make DESTDIR=$RPM_BUILD_ROOT install
#ln -s /usr/lib/build/build $RPM_BUILD_ROOT/usr/bin/build
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
%if 0%sles_version
ln -s sles%{sles_version}.conf default.conf
%else
%if 0%suse_version
V=%suse_version
ln -s sl${V:0:2}.${V:2:1}.conf default.conf
%endif
%endif
%files
%defattr(-,root,root)