diff --git a/build-2010.02.25.tar.gz b/build-2010.02.25.tar.gz deleted file mode 100644 index b037f240..00000000 --- a/build-2010.02.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2893908defec2e28c907e2557621d6664d5dc83c7595f5229a2d09d206bb2ff0 -size 99624 diff --git a/build-2010.03.08.tar.gz b/build-2010.03.08.tar.gz new file mode 100644 index 00000000..d4d63d3d --- /dev/null +++ b/build-2010.03.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b4590ef2f0c431dfe88b4f4e993e7634d699820f572d19f830bc1010273058a +size 100275 diff --git a/build.changes b/build.changes index 58067ef6..42e44115 100644 --- a/build.changes +++ b/build.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/build.spec b/build.spec index ace032fa..c0cdcb08 100644 --- a/build.spec +++ b/build.spec @@ -23,7 +23,7 @@ License: GPLv2+ Group: Development/Tools/Building AutoReqProv: on Summary: A Script to Build SUSE Linux RPMs -Version: 2010.02.25 +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") @@ -63,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)