1
0
forked from pool/osc

osc copypac from project:home:adrianSuSE:branches:OBS_Maintained:build package:build.openSUSE_12.1_Update revision:6, using keep-link

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=109
This commit is contained in:
Adrian Schröter 2012-03-12 16:23:37 +00:00 committed by Git OBS Bridge
parent 2e865def58
commit 1ca7ea785d
16 changed files with 1376 additions and 2797 deletions

12
_service Normal file
View File

@ -0,0 +1,12 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">2012.03.06</param>
<param name="url">git://github.com/openSUSE/obs-build.git</param>
<param name="scm">git</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

8
baselibs.conf Normal file
View File

@ -0,0 +1,8 @@
arch i386 targets x86_64:i386
arch i586 targets x86_64:i586
build-initvm
targetname <name>-<targettype>
targettype i386 provides "build-initvm"
targettype i586 provides "build-initvm"
targettype i386 +/usr
targettype i586 +/usr

12
build-initvm.changes Normal file
View File

@ -0,0 +1,12 @@
-------------------------------------------------------------------
Tue Oct 4 12:43:27 UTC 2011 - adrian@suse.de
- use new qemu-*-binfmt handler to run commands with correct $0
- fix build for Factory
-------------------------------------------------------------------
Mon Mar 21 07:02:52 UTC 2011 - adrian@suse.de
- initial package for new cross build support for OBS. Done by
James Perkins from LinuxFoundation

53
build-initvm.spec Normal file
View File

@ -0,0 +1,53 @@
#
# spec file for package build-initvm
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: build-initvm
Summary: A Script to Build SUSE Linux RPMs
License: GPL-2.0+
Group: Development/Tools/Building
Version: 2012.03.06
Release: 0
Source: obs-build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: off
Requires: build
BuildRequires: gcc
BuildRequires: glibc-devel
%if 0%{?suse_version} > 1200
BuildRequires: glibc-devel-static
%endif
%description
This package provides a script for building RPMs for SUSE Linux in a
chroot or a secure virtualized environment.
%prep
%setup -q -n obs-build-%version
%build
make CFLAGS="$RPM_BUILD_FLAGS" initvm-all
%install
make DESTDIR=$RPM_BUILD_ROOT initvm-install
%files
%defattr(-,root,root)
/usr/lib/build/initvm
%changelog

View File

@ -0,0 +1,15 @@
-------------------------------------------------------------------
Thu Jun 30 19:05:52 CEST 2011 - ro@suse.de
- provide build-mkbaselibs so this can really be used
-------------------------------------------------------------------
Tue Jun 7 09:31:51 UTC 2011 - k0da@opensuse.org
- fix build
-------------------------------------------------------------------
Mon Jun 6 15:12:13 UTC 2011 - adrian@suse.de
- new package for SLE baselibsconf, including ia64 arch defaults

59
build-mkbaselibs-sle.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package build-mkbaselibs-sle
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: build-mkbaselibs-sle
Summary: Tools to generate base lib packages
License: GPL-2.0+
Group: Development/Tools/Building
Version: 2012.03.06
Release: 0
#!BuildIgnore: build-mkbaselibs
Provides: build-mkbaselibs
Source: obs-build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
# Manual requires to avoid hard require to bash-static
AutoReqProv: off
%description
This package contains the parts which may be installed in the inner build system
for generating base lib packages.
This is the SLE variant including IA64 binary generation.
%prep
%setup -q -n obs-build-%{version}
%build
%install
install -m 0755 -d $RPM_BUILD_ROOT/usr/lib/build
install -m 0755 mkbaselibs \
$RPM_BUILD_ROOT/usr/lib/build/mkbaselibs
install -m 0644 baselibs_global-deb.conf \
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global-deb.conf
install -m 0644 baselibs_global-sle.conf \
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global.conf
%files
%defattr(-,root,root)
%dir /usr/lib/build
/usr/lib/build/mkbaselibs
/usr/lib/build/baselibs*
%changelog

913
build.changes Normal file
View File

@ -0,0 +1,913 @@
-------------------------------------------------------------------
Wed Mar 7 09:55:02 UTC 2012 - adrian@suse.de
- check_emulator needs to use $BUILD_DIR for initvm checks or obs
worker builds may break
- Introduce --vmdisk-mount-options
-------------------------------------------------------------------
Wed Feb 29 10:02:52 UTC 2012 - adrian@suse.de
- using xz compression for kiwi raw files
- progress counters during installing
- 12.2 config added
-------------------------------------------------------------------
Mon Feb 13 08:49:34 UTC 2012 - adrian@suse.de
- Support for openSUSE 12.2 (current factory)
- Support for crossbuild via Hostarch directive
- PPC KVM support
- swap space gets taken into account for ulimits
- Failure on not supported personality set
-------------------------------------------------------------------
Tue Oct 25 14:40:05 UTC 2011 - adrian@suse.de
- use github.com as git repo now
- fix build for rpmv5
-------------------------------------------------------------------
Mon Oct 10 19:29:20 CEST 2011 - mls@suse.de
- add sles11sp2 build config and adapt autodetection [bnc#711770]
-------------------------------------------------------------------
Tue Oct 4 12:43:27 UTC 2011 - adrian@suse.de
- use new qemu-*-binfmt handler to run commands with correct $0
- fix build for Factory
-------------------------------------------------------------------
Mon Sep 26 20:33:59 UTC 2011 - adrian@suse.de
- fixing kvm cpuid setting for AMD and Intel CPU's
- support new xen tools
- fixed qemu build initialisation
-------------------------------------------------------------------
Sun Aug 7 19:58:28 UTC 2011 - opensuse@cboltz.de
- Requires:/Recommends: were part of the package description.
Moved them to the correct place.
-------------------------------------------------------------------
Fri Jul 1 07:26:34 UTC 2011 - adrian@suse.de
- compat mode for broken kiwi of openSUSE 11.4
-------------------------------------------------------------------
Thu Jun 30 10:42:15 UTC 2011 - adrian@suse.de
- fixed kiwi execution call for some versions
-------------------------------------------------------------------
Fri Jun 17 08:35:15 UTC 2011 - adrian@suse.de
- support new kiwi command line mode
-------------------------------------------------------------------
Mon Jun 6 14:57:47 UTC 2011 - adrian@suse.de
- do not build ia64 baselibs packages for openSUSE anymore
-------------------------------------------------------------------
Wed May 25 12:14:38 UTC 2011 - adrian@suse.de
- allow to use simple spec file parser via Build::show
-------------------------------------------------------------------
Thu May 12 10:20:53 UTC 2011 - adrian@suse.de
- conflict with old bsdtar (not supporting --chroot)
-------------------------------------------------------------------
Wed Apr 27 12:34:17 UTC 2011 - adrian@suse.de
- revert to single cpu build default for debian packages
-------------------------------------------------------------------
Fri Apr 15 08:55:14 UTC 2011 - adrian@suse.de
- switch back to single process build for debian to be conform with
their policy
- use cpuid kvm64 on kvm for 64bit as workaround for a cpuid bug
-------------------------------------------------------------------
Tue Mar 29 14:59:28 UTC 2011 - lnussel@suse.de
- make sure default.conf is no stale symlink
-------------------------------------------------------------------
Tue Mar 1 15:35:21 UTC 2011 - adrian@suse.de
- support new cross build initvm. Done by James Perkins from LinuxFoundation
- do not use loop device anymore when using block devices directly
-------------------------------------------------------------------
Thu Nov 11 12:24:13 UTC 2010 - adrian@suse.de
- workaround for distros with appstart like Ubuntu 10.10
-------------------------------------------------------------------
Tue Nov 2 16:32:42 UTC 2010 - lnussel@suse.de
- delta size limit 80%
- actually unlink the delta file if the delta is too big
-------------------------------------------------------------------
Wed Oct 27 13:38:48 UTC 2010 - lnussel@suse.de
- use '.drpm' suffix instead of '.delta.rpm' for delta rpms
- makedeltarpms -> mkdrpms and also rename subpackage to match
script name
- since mkdrpms needs Build.pm make perl-TimeDate dependency of
build optional
-------------------------------------------------------------------
Mon Oct 18 14:38:16 UTC 2010 - lnussel@suse.de
- add missing optional perl dependencies
-------------------------------------------------------------------
Fri Oct 15 10:27:08 UTC 2010 - adrian@suse.de
- update to current git
* export also fallback archs as exclusive archs for kiwi product
building, fixes factory dvd5 64bit media
* cross build fixes by Martin Mohring
* correct disk image file creation, it was one byte too large by James Perkins
-------------------------------------------------------------------
Tue Sep 21 13:23:00 UTC 2010 - adrian@suse.de
- update to current git
* workaround for supporting rpm install on cross build with native
acceleration
-------------------------------------------------------------------
Mon Sep 20 12:25:56 UTC 2010 - lnussel@suse.de
- package mkdrpms script in separate package
-------------------------------------------------------------------
Tue Aug 24 08:32:05 UTC 2010 - adrian@suse.de
- update to current git
* support for mips cross build
-------------------------------------------------------------------
Wed Aug 4 15:31:41 UTC 2010 - adrian@suse.de
- update to current git
* replace release number macros with 0 if not specified
-------------------------------------------------------------------
Wed Jul 28 15:44:41 CEST 2010 - mls@suse.de
- update to current git
* document --repo and --dist
* update wiki links
* fix bugs in repo handling
* fix distribution autodetection code
-------------------------------------------------------------------
Thu Jul 22 09:22:03 UTC 2010 - adrian@suse.de
- update to current git
* support for Files provide
-------------------------------------------------------------------
Thu Jul 8 13:15:42 UTC 2010 - adrian@suse.de
- update to current git
* export BUILD_DEBUG so rpmlint can check for it (bnc#618004)
-------------------------------------------------------------------
Tue Jun 29 15:06:06 CEST 2010 - mls@suse.de
- update to current git
* add 11.3 config
* fix repo creation in --noinit case
* support ovf files directly
* allow multiple --oldpackages
* delta rpm support
-------------------------------------------------------------------
Mon Jun 21 12:20:36 UTC 2010 - adrian@suse.de
- update to current git
* fixes for image building for SLE 10
* fix parsing of macros that contain {} blocks
* support xz decoder helper script
* don't substitute in lines with %(), the parser cannot handle it (bnc#613965)
* run kvm instance with the right number of cpus according to given parallel build jobs
-------------------------------------------------------------------
Sat May 29 13:35:34 UTC 2010 - adrian@suse.de
- update to current git
* noatime VM mount
* _service file rename happens inside of chroot/vm now.
-------------------------------------------------------------------
Tue May 4 08:26:13 UTC 2010 - adrian@suse.de
- update to current git
* CBinstall and CBPreninstall directive support from Jan-Simon
-------------------------------------------------------------------
Wed Apr 21 09:58:46 UTC 2010 - adrian@suse.de
- detect kvm virtio initrds on SUSE systems automatically
-------------------------------------------------------------------
Mon Apr 19 00:54:32 CEST 2010 - ro@suse.de
- build-mkbaselibs: also move baselibs*conf to subpackage
-------------------------------------------------------------------
Fri Apr 16 01:11:45 CEST 2010 - ro@suse.de
- add BuildIgnore build-mkbaselibs to be able to bootstrap
-------------------------------------------------------------------
Thu Apr 15 14:04:56 UTC 2010 - adrian@suse.de
- split out -mkbaselibs package to avoid build dependency problems
on perl version updates in future.
- update to current git
* added armv6el to emulator archs by Jan-Simon.
* fixing a logic error in arch= attribute handling for kiwi
-------------------------------------------------------------------
Fri Apr 9 07:58:24 UTC 2010 - adrian@suse.de
- update to current git
* Support for remote yum repos by yi.y.yang@intel.com
* fixed kiwi file parsing for arch= attributes
-------------------------------------------------------------------
Wed Mar 31 15:00:48 UTC 2010 - adrian@suse.de
- update to current git
* kvm autosetup enhancements
* multiple bugfixes and refactoring
-------------------------------------------------------------------
Wed Mar 10 13:34:45 UTC 2010 - adrian@suse.de
- update to current git
* Kiwi exclude arch handling
-------------------------------------------------------------------
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
- update to current git
* fix for permissions for debian (done by Jan-Simon)
-------------------------------------------------------------------
Thu Feb 11 19:09:11 UTC 2010 - adrian@suse.de
- update to current git
* fixed handling of kiwi build results
-------------------------------------------------------------------
Mon Feb 8 15:52:12 UTC 2010 - adrian@suse.de
- update to current git
* support kiwi 4.1 schema files
-------------------------------------------------------------------
Tue Jan 19 14:57:22 UTC 2010 - adrian@suse.de
- update to current git
* fixed missing --root parameter for substitutedeps call
-------------------------------------------------------------------
Mon Jan 18 16:38:58 UTC 2010 - adrian@suse.de
- update to current git
* create .sha256 files for kiwi image results
-------------------------------------------------------------------
Wed Jan 13 15:21:28 UTC 2010 - adrian@suse.de
- update to current git repo
* unbreaking kiwi builds again
-------------------------------------------------------------------
Sun Jan 3 13:02:40 UTC 2010 - adrian@suse.de
- update to current git repo, update to commit 549cf6c6e148b7f8c05c12ee06f3094cb67149f9
* minor bugfixes
* sparc support fixes
-------------------------------------------------------------------
Thu Dec 10 07:00:00 UTC 2009 - adrian@suse.de
- switch to git repository, update to commit c8b33e430bfb40b80df43249279bd561d874d786
* product building via abuild user
* prodoct building speedup
-------------------------------------------------------------------
Fri Nov 27 09:44:56 UTC 2009 - adrian@suse.de
- update to svn(r9279)
Debian packages get configured at install time again now.
But keeping additional configuration step afterwards for failed
configutions (due to dep cycles)
-------------------------------------------------------------------
Fri Nov 27 09:11:15 UTC 2009 - adrian@suse.de
- add requires to perl-TimeDate for changelog2spec app
-------------------------------------------------------------------
Wed Nov 25 10:54:24 UTC 2009 - adrian@suse.de
- update to svn(r9238)
* Debian chroot enviroments are running post installation scripts
now after all packages got installed, not after each installation
(partly fixes Ubuntu 9.10 setup)
-------------------------------------------------------------------
Sat Nov 21 19:50:44 UTC 2009 - adrian@suse.de
- update to current svn(r9154)
* add support for xz compressed rpms (Fedora 12) on platforms without xz support in
rpm.
* speed up install by disabling fsync in rpm config
-------------------------------------------------------------------
Thu Nov 5 06:16:05 UTC 2009 - adrian@suse.de
- update to current svn (r8506)
- product iso generation is done by kiwi now
- debs get generated via "make install"
-------------------------------------------------------------------
Wed Sep 23 12:01:05 CEST 2009 - mls@suse.de
- update to current svn (r8048)
- support openSUSE 11.2 [bnc#539914]
-------------------------------------------------------------------
Mon Jul 27 17:03:47 CEST 2009 - ro@suse.de
- update to current svn (r7751)
- support for legacy releasepkg mechanism
- only print parse warnings if $config->{'warnings'} is set
- set warnings for expanddeps/substitutedeps
- use UTC as default timezone
- also consider patches as sources
- do not call depmod until we use also the native kernel,
it can't match otherwise
- return with value 3, if basic file system creation fails.
bs_worker will mark the build host as bad and retries on another one.
- handle files from service correctly and strip their prefix.
- - also add rpmv3 compatibility hack to createrpmdeps
- mount proc filesystem for build compare run
- fix for ccache support from
- add build-ids for debuginfo packages for subpacks
-------------------------------------------------------------------
Wed Jun 3 13:40:08 CEST 2009 - adrian@suse.de
- update to current svn (r7483)
* Jan-Simons "ChangeTarget" support
* fix for handling missing self provides with rpm format 3.0.6
-------------------------------------------------------------------
Thu Apr 23 12:14:36 CEST 2009 - adrian@suse.de
- update to current svn (r7164)
* 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
- update to current svn (r7126)
* new blocklist based build result export
* Martin Mohrings cross build extensions
* vc tool included now
-------------------------------------------------------------------
Wed Mar 23 15:20:17 CET 2009 - adrian@suse.de
- Fix for "Requires(pre/post)" tags
- fix missing abuild group in /etc/gshadow on debian like distros
-------------------------------------------------------------------
Wed Feb 25 15:20:17 CET 2009 - adrian@suse.de
- Update for bug fix for image build with additional packages in --create step
(fix from cthiel, bnc#479537)
-------------------------------------------------------------------
Fri Feb 20 12:04:00 CET 2009 - adrian@suse.de
- Fix kvm support together with Alexander
- Support for new disturl containing a complete pointer to build
service instance resource
- add support for package compare to allow Build Service to drop
same packages after build
- image repack support from Christoph
-------------------------------------------------------------------
Tue Jan 27 14:27:19 CET 2009 - adrian@suse.de
- update to current buildservice/1.5 branch
- More fixes for kiwi image build
- Move Susetags.pm to correct Build:: namespace
-------------------------------------------------------------------
Wed Dec 10 14:27:19 CET 2008 - froh@suse.de
- update to r5853:
- added: new armv7el arch for all binaries for up to ARMv7 EABI with VFP
- Fix kiwi image build support within osc
-------------------------------------------------------------------
Fri Dec 5 09:11:19 CET 2008 - froh@suse.de
- remove baselibs.conf from the spec file, too
-------------------------------------------------------------------
Fri Dec 5 02:26:21 CET 2008 - ro@suse.de
- delete baselibs.conf (nowadays stored in package sources)
-------------------------------------------------------------------
Wed Dec 3 13:17:26 CET 2008 - ro@suse.de
- delete automatic requires for debuginfo-xxbit
-------------------------------------------------------------------
Wed Dec 3 11:30:37 CET 2008 - froh@suse.de
- config update
-------------------------------------------------------------------
Fri Nov 28 15:19:21 CET 2008 - froh@suse.de
- many kiwi fixes
- _no_ cross build support yet
-------------------------------------------------------------------
Thu Nov 13 15:01:59 CET 2008 - ro@suse.de
- update mkbaselibs broken by previous debuginfo change
- various fixes for kiwi build
- add sl11.1.conf
- add support for --disturl
- also save .desktopfiles for coolo
-------------------------------------------------------------------
Thu Oct 23 14:59:19 CEST 2008 - ro@suse.de
- disable ppc:ia32 stuff again, causes trouble and can not work
-------------------------------------------------------------------
Tue Oct 21 13:25:50 CEST 2008 - jblunck@suse.de
- Generate debuginfo packages for baselibs (bnc #396196)
-------------------------------------------------------------------
Mon Oct 20 17:56:20 CEST 2008 - ro@suse.de
- update to svn trunk of today:
- init_buildsystem: check for some left space before calling rpmbuild
- create dev/shm as directory
- baselibs_global.conf: update to current internal revision
- add ia32 stuff for x86 binaries on ppc
- add ldconfig for all non-devel baselibs packages
- changed: to function also with emulators better use fakeroot-tcp
for debian build
- fixed: changed basis for memory calculation to assume also a stack
which can be swapped well. gcc often needs much memory here
- recognize SLES10
- fix boolification in && and ||
- re-preinstall critical packages on update
- fix creation of buildenv to do it the same time with and without VM.
- fixes installation-images build for ppc
- fixed #406596: don't ignore BuildRequires in subpackages
- print finished message
- set BUILD_USER depending on the suse_version like it is done in
old autobuild
- added documentation for specfile control comments for build(1)
- add --incarnation
- add --create-build-binaries
- support badarch (aka excludearch)
- add support for Requires(pre) or (post) semantic
-------------------------------------------------------------------
Mon Aug 11 16:15:23 CEST 2008 - adrian@suse.de
Update from current svn trunk:
- Improved XEN support (XEN call only once per build)
- Add post build check hooks
- rpmlint support
- added kvm support
- refactored code in various places
-------------------------------------------------------------------
Tue Jun 3 17:53:22 CEST 2008 - mls@suse.de
- fix debtransform bug [bnc#396766]
-------------------------------------------------------------------
Thu May 29 16:17:17 CEST 2008 - mls@suse.de
- add 11.0 config
- fix debian provides
- fix rpm tag parsing
- add with/without/define/ccache/icecream/debug options
- update mkbaselibs
-------------------------------------------------------------------
Fri Sep 14 18:27:13 CEST 2007 - mls@suse.de
- add sl10.3 config [#310089]
- also look for BuildRequires in subpackage definitions [#305568]
- allow removal of more config parameters
-------------------------------------------------------------------
Thu Aug 2 15:56:09 CEST 2007 - mls@suse.de
- support 'order' config option
- support 'patterntype' config option
- new setdeps() method
- support for flexible query options
- support 'description' query
- fix bug in changelog2spec time cutoff
- make debtransform understand Debtransform-Tar/Debtransform-Files-Tar/
Debtransform-Series
- fix bug in substitutedeps
-------------------------------------------------------------------
Wed Jun 13 17:18:17 CEST 2007 - mls@suse.de
- implement rpm installation order calculation in perl
- make substitute code modify requires, too
- add filelist query support
- add prereq parsing support
- speed up version comparison a bit
-------------------------------------------------------------------
Thu May 10 20:02:29 CEST 2007 - mls@suse.de
- add _vendor to configs
- fix deban dependency compare
- allow not operator in configs
- fix build from source rpms
-------------------------------------------------------------------
Thu Apr 12 16:22:16 CEST 2007 - mls@suse.de
- add --root to rpm call in rpm to work around a bug in rpm [#255720]
-------------------------------------------------------------------
Thu Apr 5 15:59:21 CEST 2007 - mls@suse.de
- update to 1561:
* support architecture dependand requires in dsc files
* support "global" definitions for rpm
* support vminstall config option
-------------------------------------------------------------------
Mon Mar 12 15:40:49 CET 2007 - mls@suse.de
- update to r1419:
* fix buildroot in debtransform
* obey version numbers when expanding
-------------------------------------------------------------------
Fri Mar 2 21:23:40 CET 2007 - mls@suse.de
- transform suse changes file to rpm specfile format
- improved debian support
-------------------------------------------------------------------
Fri Jan 26 17:14:08 CET 2007 - poeml@suse.de
- update to r1114:
- re-add the lost unrpm script
-------------------------------------------------------------------
Fri Jan 26 15:58:32 CET 2007 - poeml@suse.de
- update to r1110:
- make exclarch an array
- remount root rw in xen case, needed if root is not reiserfs
- add repotype/runscripts options
- remove devs in sl10.1/10.2
- fix boolean test to make "00" false like rpm does
- add rpm_verscmp for version comparison
- runscripts
- macro blocks
- read_config_dist
- useful xen exit status
- add --kill
- update 10.2 config
- extend spec/dsc parser
- fixed two bugs in the specfile parser
-------------------------------------------------------------------
Fri Nov 24 17:43:28 CET 2006 - mls@suse.de
- fix suse_version in sl10.1/sles10 config
- add sl10.2 config
- make dist autodetection work with opensuse
- fix macro sequencing and expression parser bugs
- treat preinstalls as keep
-------------------------------------------------------------------
Thu Aug 24 00:49:19 CEST 2006 - ro@suse.de
- init_buildsystem: when preinstalling, handle only sh scripts
-------------------------------------------------------------------
Wed Jun 14 17:42:26 CEST 2006 - mls@suse.de
- support for buildservice and debian packages
-------------------------------------------------------------------
Fri Apr 28 17:07:30 CEST 2006 - mls@suse.de
- add ndeps back to expansion calls
- save original macro name so that other regexp calls don't destroy
it
-------------------------------------------------------------------
Wed Apr 19 15:34:10 CEST 2006 - mls@suse.de
- add --list-state option [#119869]
- suppress stat messages when deleting rpms [#154385]
- delete not-ready flag when rpm expansion failes [#133568]
- update baselibs.conf
-------------------------------------------------------------------
Tue Apr 11 16:00:53 CEST 2006 - mls@suse.de
- fix typo in configs
- fix macro handling
-------------------------------------------------------------------
Fri Apr 7 19:06:09 CEST 2006 - mls@suse.de
- mkbaselibs: do not leave .src.rpm in the release [#158816]
-------------------------------------------------------------------
Tue Apr 4 12:26:24 CEST 2006 - mls@suse.de
- add update-alternatives to java2-devel-packages macro [#156137]
-------------------------------------------------------------------
Mon Mar 27 20:01:01 CEST 2006 - mls@suse.de
- run zic to set default timezone [#142363]
- update baselibs.conf
-------------------------------------------------------------------
Fri Mar 24 17:04:41 CET 2006 - mls@suse.de
- fix handling of "keep" [#160346]
- fix old configs [#159947]
-------------------------------------------------------------------
Mon Mar 20 14:35:11 CET 2006 - mls@suse.de
- make mkbaselibs use the right version for the srcrpm
- update mkbaselibs configuration files
-------------------------------------------------------------------
Fri Mar 10 14:15:40 CET 2006 - mls@suse.de
- add package expansion and dependency substitution support
-------------------------------------------------------------------
Wed Feb 8 21:29:48 CET 2006 - agruen@suse.de
- Adjust the package lists so that the build script can at least
be used again.
-------------------------------------------------------------------
Wed Jan 25 21:45:57 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Sep 12 11:11:30 CEST 2005 - mls@suse.de
- also search for ix86 packages when building x86_64 [#116069]
-------------------------------------------------------------------
Mon Sep 5 12:13:09 CEST 2005 - mls@suse.de
- add --baselibs option
- fix --extra-packs
-------------------------------------------------------------------
Thu May 12 14:45:32 CEST 2005 - mls@suse.de
- Fix typo in init_buildsystem that prevented the reuse of the build
environment [#74714]
-------------------------------------------------------------------
Fri Mar 11 18:03:30 CET 2005 - mls@suse.de
- integrated patches into tarball
- allowed build for older dists [#65506]
-------------------------------------------------------------------
Wed Mar 2 12:28:07 CET 2005 - agruen@suse.de
- Some more cleanups for 9.3.
- When using the default list of packages, also try to include the
packages in neededforbuild.
-------------------------------------------------------------------
Mon Feb 28 17:36:02 CET 2005 - agruen@suse.de
- ldconfig must be called with its absolute path.
-------------------------------------------------------------------
Tue May 25 14:49:13 CEST 2004 - mls@suse.de
- overhaul the manpage
-------------------------------------------------------------------
Thu Mar 25 18:31:56 CET 2004 - mls@suse.de
- incorporate ro's diff
-------------------------------------------------------------------
Wed Mar 24 20:26:39 CET 2004 - mls@suse.de
- really adapt to 9.1
- add --root and --extra-packs options
- use BuildRequires: line
- use user 'abuild' if norootforbuild found
- fix BUILD_DIR security issue (#35281)
-------------------------------------------------------------------
Thu Mar 11 20:00:13 CET 2004 - ro@suse.de
- adapted for 9.1
-------------------------------------------------------------------
Mon Nov 10 23:54:37 CET 2003 - mmj@suse.de
- Accept "-h" for help
- rpm -ba is now rpmbuild -ba
- Add Maximum RPM reference
-------------------------------------------------------------------
Mon Nov 10 13:48:39 CET 2003 - mmj@suse.de
- Update the default USEDFORBUILD to match todays packages
- Don't build as root
-------------------------------------------------------------------
Wed Oct 15 12:23:49 CEST 2003 - mmj@suse.de
- Fix to work on amd64 (from mls) [#32229]
-------------------------------------------------------------------
Fri Sep 5 16:01:54 CEST 2003 - mls@suse.de
- select i586 on i686 is user didn't specify arch
- complain if user wan't to build i686 on a not-i686 processor
- patch rpmrc so that i686 rpms are written if building for i686
-------------------------------------------------------------------
Thu Sep 4 16:12:03 CEST 2003 - mls@suse.de
- port to sl90
- allow path for BUILD_RPMS
- add BUILD_ARCH and autodetection
- add --jobs and --target options
-------------------------------------------------------------------
Fri Aug 29 05:40:30 CEST 2003 - nashif@suse.de
- fixed call for "head"
-------------------------------------------------------------------
Thu Aug 7 11:58:11 CEST 2003 - schwab@suse.de
- Fix typo.
-------------------------------------------------------------------
Thu Aug 7 09:57:35 CEST 2003 - mmj@suse.de
- Enhance build.1 a bit
-------------------------------------------------------------------
Sat Mar 8 08:11:29 CET 2003 - kukuk@suse.de
- Fix build on 8.2 (coreutils) [Bug #24895]
-------------------------------------------------------------------
Fri Jan 31 19:58:17 CET 2003 - kukuk@suse.de
- Fix build patch from bk.
-------------------------------------------------------------------
Wed Jan 29 14:08:09 CET 2003 - kukuk@suse.de
- Add workaround for duplicate packages for different archs
- Add support for upcoming 8.2
-------------------------------------------------------------------
Fri Oct 4 17:18:26 CEST 2002 - bk@suse.de
- integrate 8.1 diff into tarball and update README
- build.dif: init_buildsystem: add support for earlyer distributions
-------------------------------------------------------------------
Mon Sep 9 13:00:19 MEST 2002 - mls@suse.de
- Adjust for SuSE Linux 8.1 again
- Fix parameter parsing
- Changed build to accept .src.rpm sources
-------------------------------------------------------------------
Mon Aug 19 11:14:50 CEST 2002 - kukuk@suse.de
- Adjust for SuSE Linux 8.1
-------------------------------------------------------------------
Tue Jul 30 16:00:16 CEST 2002 - kukuk@suse.de
- Fix get_version_number.sh
-------------------------------------------------------------------
Thu Jul 18 13:19:11 CEST 2002 - kukuk@suse.de
- Don't create /etc/rc.config
-------------------------------------------------------------------
Wed Jul 3 09:48:44 CEST 2002 - kukuk@suse.de
- Add default package list for new spec files without usedforbuild
- Make it work with gcc 2.95 and gcc 3.1
-------------------------------------------------------------------
Thu Mar 7 16:58:21 CET 2002 - kukuk@suse.de
- Fix build/init_buildsystem
-------------------------------------------------------------------
Mon Jan 14 16:38:56 CET 2002 - kukuk@suse.de
- Add manual page from Gerd Knorr
------------------------------------------------------------------
Fri Dec 14 21:27:00 CET 2001 - kukuk@suse.de
- Fix file list
- Ignore new RPMs from pre-8.0 on 7.3
------------------------------------------------------------------
Fri Dec 14 15:49:38 CET 2001 - kukuk@suse.de
- More fixes
-------------------------------------------------------------------
Tue Nov 27 16:10:57 CET 2001 - kukuk@suse.de
- New build script which uses "usedforbuild"
-------------------------------------------------------------------
Thu Jan 18 13:11:25 CET 2001 - kukuk@suse.de
- Update Readme and init_buildsystem for 7.1
-------------------------------------------------------------------
Thu Nov 30 18:09:49 CET 2000 - kukuk@suse.de
- Update init_buildsystem, add README
-------------------------------------------------------------------
Wed Nov 15 18:07:58 CET 2000 - kukuk@suse.de
- First version

9
build.dsc Normal file
View File

@ -0,0 +1,9 @@
Format: 1.0
Source: build
Version: 2012.03.06
Binary: build
Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: all
Standards-Version: 3.7.2
Build-Depends: debhelper (>= 4)

136
build.spec Normal file
View File

@ -0,0 +1,136 @@
#
# spec file for package build
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: build
Summary: A Script to Build SUSE Linux RPMs
License: GPL-2.0+
Group: Development/Tools/Building
Version: 2012.03.06
Release: 0
#!BuildIgnore: build-mkbaselibs
Source: obs-build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
# Manual requires to avoid hard require to bash-static
AutoReqProv: off
# Keep the following dependencies in sync with obs-worker package
Requires: bash
Requires: binutils
Requires: perl
Requires: tar
Conflicts: bsdtar < 2.5.5
%if 0%{?suse_version} > 1000
# None of them are actually required for core features.
# Perl helper scripts use them.
Recommends: perl(Date::Language)
Recommends: perl(Date::Parse)
Recommends: perl(LWP::UserAgent)
Recommends: perl(Pod::Usage)
Recommends: perl(Time::Zone)
Recommends: perl(URI)
Recommends: perl(XML::Parser)
Recommends: bsdtar
%endif
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
Requires: build-mkbaselibs
%endif
%if 0%{?suse_version} > 1120 || 0%{?mdkversion}
Recommends: build-mkdrpms
%endif
%description
This package provides a script for building RPMs for SUSE Linux in a
chroot environment.
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
%package mkbaselibs
Summary: Tools to generate base lib packages
Group: Development/Tools/Building
# NOTE: this package must not have dependencies which may break boot strapping (eg. perl modules)
%description mkbaselibs
This package contains the parts which may be installed in the inner build system
for generating base lib packages.
%package mkdrpms
Summary: Tools to generate delta rpms
Group: Development/Tools/Building
Requires: deltarpm
# XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq
Requires: build
%description mkdrpms
This package contains the parts which may be installed in the inner build system
for generating delta rpm packages.
%endif
%prep
%setup -q -n obs-build-%version
%build
%install
make DESTDIR=$RPM_BUILD_ROOT install
%if 0%{?sles_version} < 12
# use sle variation with IA64 compat package generation
install -m 0644 baselibs_global-sle.conf \
$RPM_BUILD_ROOT/usr/lib/build/baselibs_global.conf
%endif
cd $RPM_BUILD_ROOT/usr/lib/build/configs/
%if 0%{?suse_version}
%if 0%{?sles_version}
ln -s sles%{sles_version}.conf default.conf
%else
V=%suse_version
ln -s sl${V:0:2}.${V:2:1}.conf default.conf
%endif
test -e default.conf
%endif
%files
%defattr(-,root,root)
%doc README
/usr/bin/build
/usr/bin/buildvc
/usr/bin/unrpm
/usr/lib/build
%{_mandir}/man1/build.1*
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
%exclude /usr/lib/build/mkbaselibs
%exclude /usr/lib/build/baselibs*
%exclude /usr/lib/build/mkdrpms
%files mkbaselibs
%defattr(-,root,root)
%dir /usr/lib/build
/usr/lib/build/mkbaselibs
/usr/lib/build/baselibs*
%files mkdrpms
%defattr(-,root,root)
%dir /usr/lib/build
/usr/lib/build/mkdrpms
%endif
%changelog

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80278773812809883c225f5b8fe985c857e2f88d550c4481767725be4ec85630
size 2193
oid sha256:e76356912637c3554da7a0cef6cbc7f12e5adf9fc4c6b14fb09084c6b6bcc845
size 1524

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
Format: 1.0
Source: osc
Version: 0.133.1
Binary: osc
Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: any
Standards-Version: 3.7.1
Build-Depends: debhelper (>= 4.0.0), python-dev, python-urlgrabber

124
osc.spec
View File

@ -1,124 +0,0 @@
#
# spec file for package osc
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: osc
Version: 0.133.1
Release: 0
Summary: openSUSE Build Service Commander
License: GPL-2.0+
Group: Development/Tools/Other
Url: http://www.gitorious.org/opensuse/osc
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?mandriva_version} < 02010
BuildRequires: python-urlgrabber
Requires: python-urlgrabber
%endif
BuildRequires: python-devel
%if 0%{?mandriva_version}
BuildRequires: python-rpm
Requires: python-rpm
%else
BuildRequires: rpm-python
Requires: rpm-python
%endif
#
%if 0%{?suse_version}
%if 0%{?suse_version} < 1020
BuildRequires: python-elementtree
Requires: python-elementtree
%else
BuildRequires: python-xml
Requires: python-xml
%endif
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%if 0%{?suse_version} > 1000
Recommends: build >= 2010.05.04
# These packages are needed for "osc add $URL"
Recommends: obs-service-recompress
Recommends: obs-service-set_version
Recommends: obs-service-tar_scm
Recommends: obs-service-verify_file
Recommends: obs-service-download_files
Recommends: obs-service-format_spec_file
Recommends: obs-service-source_validator
%endif
%endif
%if 0%{?rhel_version} && 0%{?rhel_version} < 600
BuildRequires: python-elementtree
Requires: python-elementtree
%endif
%if 0%{?centos_version} && 0%{?centos_version} < 600
BuildRequires: python-elementtree
Requires: python-elementtree
%endif
%if 0%{?suse_version}%{?mandriva_version}
BuildRequires: python-m2crypto
Requires: python-m2crypto > 0.19
%else
BuildRequires: m2crypto
Requires: m2crypto > 0.19
%endif
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Commandline client for the openSUSE Build Service.
See http://en.opensuse.org/openSUSE:OSC , as well as
http://en.opensuse.org/openSUSE:Build_Service_Tutorial for a general
introduction.
%prep
%setup -q
%build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
ln -s osc-wrapper.py %{buildroot}/%{_bindir}/osc
mkdir -p %{buildroot}%{_localstatedir}/lib/osc-plugins
install -Dm0644 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh
install -Dm0644 dist/complete.sh %{buildroot}%{_sysconfdir}/profile.d/osc.sh
%if 0%{?suse_version} > 1110
install -Dm0755 dist/osc.complete %{buildroot}%{_prefix}/lib/osc/complete
%else
install -Dm0755 dist/osc.complete %{buildroot}%{_libdir}/osc/complete
%endif
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS README TODO NEWS
%{_bindir}/osc*
%{python_sitelib}/*
%config %{_sysconfdir}/profile.d/osc.csh
%config %{_sysconfdir}/profile.d/osc.sh
%dir %{_localstatedir}/lib/osc-plugins
%{_mandir}/man1/osc.*
%if 0%{?suse_version} > 1110
%{_prefix}/lib/osc
%else
%{_libdir}/osc
%endif
%changelog