From 9fb12e611e2d4bbe39ce72ef990cbd84e9a46c9f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:06:25 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=1 --- .gitattributes | 23 ++++ build.changes | 282 ++++++++++++++++++++++++++++++++++++++++++ build.spec | 186 ++++++++++++++++++++++++++++ build.tar.bz2 | 3 + get_version_number.sh | 3 + ready | 0 6 files changed, 497 insertions(+) create mode 100644 .gitattributes create mode 100644 build.changes create mode 100644 build.spec create mode 100644 build.tar.bz2 create mode 100644 get_version_number.sh create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/build.changes b/build.changes new file mode 100644 index 0000000..c2e7586 --- /dev/null +++ b/build.changes @@ -0,0 +1,282 @@ +------------------------------------------------------------------- +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 + diff --git a/build.spec b/build.spec new file mode 100644 index 0000000..590f85d --- /dev/null +++ b/build.spec @@ -0,0 +1,186 @@ +# +# spec file for package build (Version 2006.11.24) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: build +License: GNU General Public License (GPL) +Group: Development/Tools/Building +Autoreqprov: on +Summary: A Script to Build SUSE Linux RPMs +Version: 2006.11.24 +Release: 1 +Source: build.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArchitectures: noarch + +%description +This package provides a script for building RPMs for SUSE Linux in a +chroot environment. + + + +%prep +%setup -n %{name} + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/build,lib/build/configs,share/man/man1} +cp -a unrpm $RPM_BUILD_ROOT/usr/bin +cp -a Build.pm build createrpmdeps debsort expanddeps extractbuild getmacros getoptflags init_buildsystem substitutedeps $RPM_BUILD_ROOT/usr/lib/build/ +cp -a configs/* $RPM_BUILD_ROOT/usr/lib/build/configs +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 +%{_mandir}/man1/build.1.gz + +%changelog -n build +* Fri Nov 24 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 2006 - ro@suse.de +- init_buildsystem: when preinstalling, handle only sh scripts +* Wed Jun 14 2006 - mls@suse.de +- support for buildservice and debian packages +* Fri Apr 28 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 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 2006 - mls@suse.de +- fix typo in configs +- fix macro handling +* Fri Apr 07 2006 - mls@suse.de +- mkbaselibs: do not leave .src.rpm in the release [#158816] +* Tue Apr 04 2006 - mls@suse.de +- add update-alternatives to java2-devel-packages macro [#156137] +* Mon Mar 27 2006 - mls@suse.de +- run zic to set default timezone [#142363] +- update baselibs.conf +* Fri Mar 24 2006 - mls@suse.de +- fix handling of "keep" [#160346] +- fix old configs [#159947] +* Mon Mar 20 2006 - mls@suse.de +- make mkbaselibs use the right version for the srcrpm +- update mkbaselibs configuration files +* Fri Mar 10 2006 - mls@suse.de +- add package expansion and dependency substitution support +* Wed Feb 08 2006 - agruen@suse.de +- Adjust the package lists so that the build script can at least + be used again. +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Mon Sep 12 2005 - mls@suse.de +- also search for ix86 packages when building x86_64 [#116069] +* Mon Sep 05 2005 - mls@suse.de +- add --baselibs option +- fix --extra-packs +* Thu May 12 2005 - mls@suse.de +- Fix typo in init_buildsystem that prevented the reuse of the build + environment [#74714] +* Fri Mar 11 2005 - mls@suse.de +- integrated patches into tarball +- allowed build for older dists [#65506] +* Wed Mar 02 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 2005 - agruen@suse.de +- ldconfig must be called with its absolute path. +* Tue May 25 2004 - mls@suse.de +- overhaul the manpage +* Thu Mar 25 2004 - mls@suse.de +- incorporate ro's diff +* Wed Mar 24 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 2004 - ro@suse.de +- adapted for 9.1 +* Mon Nov 10 2003 - mmj@suse.de +- Accept "-h" for help +- rpm -ba is now rpmbuild -ba +- Add Maximum RPM reference +* Mon Nov 10 2003 - mmj@suse.de +- Update the default USEDFORBUILD to match todays packages +- Don't build as root +* Wed Oct 15 2003 - mmj@suse.de +- Fix to work on amd64 (from mls) [#32229] +* Fri Sep 05 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 04 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 2003 - nashif@suse.de +- fixed call for "head" +* Thu Aug 07 2003 - schwab@suse.de +- Fix typo. +* Thu Aug 07 2003 - mmj@suse.de +- Enhance build.1 a bit +* Sat Mar 08 2003 - kukuk@suse.de +- Fix build on 8.2 (coreutils) [Bug #24895] +* Fri Jan 31 2003 - kukuk@suse.de +- Fix build patch from bk. +* Wed Jan 29 2003 - kukuk@suse.de +- Add workaround for duplicate packages for different archs +- Add support for upcoming 8.2 +* Fri Oct 04 2002 - bk@suse.de +- integrate 8.1 diff into tarball and update README +- build.dif: init_buildsystem: add support for earlyer distributions +* Mon Sep 09 2002 - mls@suse.de +- Adjust for SuSE Linux 8.1 again +- Fix parameter parsing +- Changed build to accept .src.rpm sources +* Mon Aug 19 2002 - kukuk@suse.de +- Adjust for SuSE Linux 8.1 +* Tue Jul 30 2002 - kukuk@suse.de +- Fix get_version_number.sh +* Thu Jul 18 2002 - kukuk@suse.de +- Don't create /etc/rc.config +* Wed Jul 03 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 07 2002 - kukuk@suse.de +- Fix build/init_buildsystem +* Mon Jan 14 2002 - kukuk@suse.de +- Add manual page from Gerd Knorr +* Fri Dec 14 2001 - kukuk@suse.de +- Fix file list +- Ignore new RPMs from pre-8.0 on 7.3 +* Fri Dec 14 2001 - kukuk@suse.de +- More fixes +* Tue Nov 27 2001 - kukuk@suse.de +- New build script which uses "usedforbuild" +* Thu Jan 18 2001 - kukuk@suse.de +- Update Readme and init_buildsystem for 7.1 +* Thu Nov 30 2000 - kukuk@suse.de +- Update init_buildsystem, add README +* Wed Nov 15 2000 - kukuk@suse.de +- First version diff --git a/build.tar.bz2 b/build.tar.bz2 new file mode 100644 index 0000000..267638d --- /dev/null +++ b/build.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c251592c4ce83a70ab6b225e9381d17a98260f15a54dc74d87ba264f6af4b1b +size 39324 diff --git a/get_version_number.sh b/get_version_number.sh new file mode 100644 index 0000000..13e644d --- /dev/null +++ b/get_version_number.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +get_date_version_string `find_newest_file *.tar.bz2` diff --git a/ready b/ready new file mode 100644 index 0000000..e69de29