Rev openSUSE:Tools/42 Md5 9ef213235fb9e41bdea480277e36f7b2 2009-04-22 08:21:51 adrianSuSE None

This commit is contained in:
OBS User adrianSuSE 2009-04-22 08:21:51 +00:00 committed by Git OBS Bridge
parent f2b27b2934
commit 434ee4c342
5 changed files with 20 additions and 16 deletions

View File

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

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

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 22 10:18:58 CEST 2009 - adrian@suse.de
- update to current svn (r7137)
* package vc tool correctly
* avoid running fsck on vm instances after 23 build runs
- install files via Makefile instead of manual calls in spec file
-------------------------------------------------------------------
Mon Apr 20 14:48:41 CEST 2009 - adrian@suse.de

View File

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

View File

@ -23,7 +23,7 @@ License: GPL v2 or later
Group: Development/Tools/Building
AutoReqProv: on
Summary: A Script to Build SUSE Linux RPMs
Version: 2009.04.20
Version: 2009.04.22
Release: 2
# osc rm build-*tar.bz2
# REVISION=$(svn info https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/build | sed -ne "/Revision: /s///p")
@ -41,6 +41,10 @@ Release: 2
Source: build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
# Manual requires to avoid hard require to bash-static
Autoreqprov: off
Requires: /bin/bash
Requires: /usr/bin/perl
%description
This package provides a script for building RPMs for SUSE Linux in a
@ -53,22 +57,14 @@ chroot environment.
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/build,lib/build/configs,lib/build/Build,share/man/man1}
cp -a unrpm $RPM_BUILD_ROOT/usr/bin
cp -a Build.pm build createrpmdeps computeblocklists order getbinaryid expanddeps extractbuild \
getmacros getoptflags init_buildsystem substitutedeps $RPM_BUILD_ROOT/usr/lib/build/
cp -a changelog2spec debtransform createrepomddeps createyastdeps killchroot \
$RPM_BUILD_ROOT/usr/lib/build/
cp -a configs/* $RPM_BUILD_ROOT/usr/lib/build/configs
cp -a Build/* $RPM_BUILD_ROOT/usr/lib/build/Build
cp -a mkbaselibs baselibs_global.conf $RPM_BUILD_ROOT/usr/lib/build/
cp -a build.1 $RPM_BUILD_ROOT/usr/share/man/man1
ln -s /usr/lib/build/build $RPM_BUILD_ROOT/usr/bin/build
make DESTDIR=$RPM_BUILD_ROOT install
#ln -s /usr/lib/build/build $RPM_BUILD_ROOT/usr/bin/build
%files
%defattr(-,root,root)
%doc README
/usr/bin/build
/usr/bin/buildvc
/usr/bin/unrpm
/usr/lib/build
%{_mandir}/man1/build.1*