2007-01-16 00:06:25 +01:00
|
|
|
#
|
2008-10-22 15:31:56 +02:00
|
|
|
# spec file for package build (Version 2008.10.21)
|
2007-01-16 00:06:25 +01:00
|
|
|
#
|
2008-05-31 12:08:28 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:06:25 +01:00
|
|
|
#
|
2008-08-15 22:36:21 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:06:25 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-05-31 12:08:28 +02:00
|
|
|
|
2007-01-16 00:06:25 +01:00
|
|
|
Name: build
|
2007-08-02 21:42:25 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:06:25 +01:00
|
|
|
Group: Development/Tools/Building
|
2007-09-15 12:05:41 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:06:25 +01:00
|
|
|
Summary: A Script to Build SUSE Linux RPMs
|
2008-10-22 15:31:56 +02:00
|
|
|
Version: 2008.10.21
|
2007-01-16 00:06:25 +01:00
|
|
|
Release: 1
|
2008-08-15 22:36:21 +02:00
|
|
|
Source: build-%{version}.tar.bz2
|
2007-01-16 00:06:25 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-09-15 12:05:41 +02:00
|
|
|
BuildArch: noarch
|
2007-01-16 00:06:25 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides a script for building RPMs for SUSE Linux in a
|
|
|
|
chroot environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2007-08-02 21:42:25 +02:00
|
|
|
%setup
|
2007-01-16 00:06:25 +01:00
|
|
|
|
2008-10-22 15:31:56 +02:00
|
|
|
%build
|
|
|
|
|
2007-01-16 00:06:25 +01:00
|
|
|
%install
|
2007-08-02 21:42:25 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/build,lib/build/configs,lib/build/Build,share/man/man1}
|
2007-01-16 00:06:25 +01:00
|
|
|
cp -a unrpm $RPM_BUILD_ROOT/usr/bin
|
2007-08-02 21:42:25 +02:00
|
|
|
cp -a Build.pm build createrpmdeps order getbinaryid expanddeps extractbuild getmacros getoptflags init_buildsystem substitutedeps $RPM_BUILD_ROOT/usr/lib/build/
|
2008-05-31 12:08:28 +02:00
|
|
|
cp -a changelog2spec debtransform createrepomddeps createyastdeps killchroot $RPM_BUILD_ROOT/usr/lib/build/
|
2007-01-16 00:06:25 +01:00
|
|
|
cp -a configs/* $RPM_BUILD_ROOT/usr/lib/build/configs
|
2007-08-02 21:42:25 +02:00
|
|
|
cp -a Build/* $RPM_BUILD_ROOT/usr/lib/build/Build
|
2007-01-16 00:06:25 +01:00
|
|
|
cp -a mkbaselibs baselibs.conf 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
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README
|
|
|
|
/usr/bin/build
|
|
|
|
/usr/bin/unrpm
|
|
|
|
/usr/lib/build
|
2008-10-22 15:31:56 +02:00
|
|
|
%{_mandir}/man1/build.1*
|
2007-01-16 00:06:25 +01:00
|
|
|
|
2007-08-02 21:42:25 +02:00
|
|
|
%changelog
|
2008-10-22 15:31:56 +02:00
|
|
|
* Tue Oct 21 2008 jblunck@suse.de
|
|
|
|
- Generate debuginfo packages for baselibs (bnc #396196)
|
|
|
|
* Mon Oct 20 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
|
2008-08-15 22:36:21 +02:00
|
|
|
* Mon Aug 11 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
|
2008-06-03 22:00:00 +02:00
|
|
|
* Tue Jun 03 2008 mls@suse.de
|
|
|
|
- fix debtransform bug [bnc#396766]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu May 29 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 2007 mls@suse.de
|
2007-09-15 12:05:41 +02:00
|
|
|
- add sl10.3 config [#310089]
|
|
|
|
- also look for BuildRequires in subpackage definitions [#305568]
|
|
|
|
- allow removal of more config parameters
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Aug 02 2007 mls@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- 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
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Jun 13 2007 mls@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- 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
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu May 10 2007 mls@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- add _vendor to configs
|
|
|
|
- fix deban dependency compare
|
|
|
|
- allow not operator in configs
|
|
|
|
- fix build from source rpms
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Apr 12 2007 mls@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- add --root to rpm call in rpm to work around a bug in rpm [#255720]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Apr 05 2007 mls@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- update to 1561:
|
|
|
|
* support architecture dependand requires in dsc files
|
|
|
|
* support "global" definitions for rpm
|
|
|
|
* support vminstall config option
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Mar 12 2007 mls@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- update to r1419:
|
|
|
|
* fix buildroot in debtransform
|
|
|
|
* obey version numbers when expanding
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Mar 02 2007 mls@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- transform suse changes file to rpm specfile format
|
|
|
|
- improved debian support
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Jan 26 2007 poeml@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- update to r1114:
|
|
|
|
- re-add the lost unrpm script
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Jan 26 2007 poeml@suse.de
|
2007-08-02 21:42:25 +02:00
|
|
|
- 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
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Nov 24 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- 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
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Aug 24 2006 ro@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- init_buildsystem: when preinstalling, handle only sh scripts
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Jun 14 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- support for buildservice and debian packages
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Apr 28 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- add ndeps back to expansion calls
|
|
|
|
- save original macro name so that other regexp calls don't destroy
|
|
|
|
it
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Apr 19 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- add --list-state option [#119869]
|
|
|
|
- suppress stat messages when deleting rpms [#154385]
|
|
|
|
- delete not-ready flag when rpm expansion failes [#133568]
|
|
|
|
- update baselibs.conf
|
2008-05-31 12:08:28 +02:00
|
|
|
* Tue Apr 11 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- fix typo in configs
|
|
|
|
- fix macro handling
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Apr 07 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- mkbaselibs: do not leave .src.rpm in the release [#158816]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Tue Apr 04 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- add update-alternatives to java2-devel-packages macro [#156137]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Mar 27 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- run zic to set default timezone [#142363]
|
|
|
|
- update baselibs.conf
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Mar 24 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- fix handling of "keep" [#160346]
|
|
|
|
- fix old configs [#159947]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Mar 20 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- make mkbaselibs use the right version for the srcrpm
|
|
|
|
- update mkbaselibs configuration files
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Mar 10 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- add package expansion and dependency substitution support
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Feb 08 2006 agruen@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Adjust the package lists so that the build script can at least
|
|
|
|
be used again.
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Sep 12 2005 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- also search for ix86 packages when building x86_64 [#116069]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Sep 05 2005 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- add --baselibs option
|
|
|
|
- fix --extra-packs
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu May 12 2005 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix typo in init_buildsystem that prevented the reuse of the build
|
|
|
|
environment [#74714]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Mar 11 2005 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- integrated patches into tarball
|
|
|
|
- allowed build for older dists [#65506]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Mar 02 2005 agruen@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Some more cleanups for 9.3.
|
|
|
|
- When using the default list of packages, also try to include the
|
|
|
|
packages in neededforbuild.
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Feb 28 2005 agruen@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- ldconfig must be called with its absolute path.
|
2008-05-31 12:08:28 +02:00
|
|
|
* Tue May 25 2004 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- overhaul the manpage
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Mar 25 2004 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- incorporate ro's diff
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Mar 24 2004 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- 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)
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Mar 11 2004 ro@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- adapted for 9.1
|
2008-05-31 12:08:28 +02:00
|
|
|
* Tue Nov 11 2003 mmj@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Accept "-h" for help
|
|
|
|
- rpm -ba is now rpmbuild -ba
|
|
|
|
- Add Maximum RPM reference
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Nov 10 2003 mmj@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Update the default USEDFORBUILD to match todays packages
|
|
|
|
- Don't build as root
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Oct 15 2003 mmj@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix to work on amd64 (from mls) [#32229]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Sep 05 2003 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- 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
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Sep 04 2003 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- port to sl90
|
|
|
|
- allow path for BUILD_RPMS
|
|
|
|
- add BUILD_ARCH and autodetection
|
|
|
|
- add --jobs and --target options
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Aug 29 2003 nashif@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- fixed call for "head"
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Aug 07 2003 schwab@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix typo.
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Aug 07 2003 mmj@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Enhance build.1 a bit
|
2008-05-31 12:08:28 +02:00
|
|
|
* Sat Mar 08 2003 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix build on 8.2 (coreutils) [Bug #24895]
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Jan 31 2003 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix build patch from bk.
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Jan 29 2003 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Add workaround for duplicate packages for different archs
|
|
|
|
- Add support for upcoming 8.2
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Oct 04 2002 bk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- integrate 8.1 diff into tarball and update README
|
|
|
|
- build.dif: init_buildsystem: add support for earlyer distributions
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Sep 09 2002 mls@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Adjust for SuSE Linux 8.1 again
|
|
|
|
- Fix parameter parsing
|
|
|
|
- Changed build to accept .src.rpm sources
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Aug 19 2002 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Adjust for SuSE Linux 8.1
|
2008-05-31 12:08:28 +02:00
|
|
|
* Tue Jul 30 2002 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix get_version_number.sh
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Jul 18 2002 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Don't create /etc/rc.config
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Jul 03 2002 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Add default package list for new spec files without usedforbuild
|
|
|
|
- Make it work with gcc 2.95 and gcc 3.1
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Mar 07 2002 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix build/init_buildsystem
|
2008-05-31 12:08:28 +02:00
|
|
|
* Mon Jan 14 2002 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Add manual page from Gerd Knorr
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Dec 14 2001 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Fix file list
|
|
|
|
- Ignore new RPMs from pre-8.0 on 7.3
|
2008-05-31 12:08:28 +02:00
|
|
|
* Fri Dec 14 2001 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- More fixes
|
2008-05-31 12:08:28 +02:00
|
|
|
* Tue Nov 27 2001 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- New build script which uses "usedforbuild"
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Jan 18 2001 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Update Readme and init_buildsystem for 7.1
|
2008-05-31 12:08:28 +02:00
|
|
|
* Thu Nov 30 2000 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- Update init_buildsystem, add README
|
2008-05-31 12:08:28 +02:00
|
|
|
* Wed Nov 15 2000 kukuk@suse.de
|
2007-01-16 00:06:25 +01:00
|
|
|
- First version
|