fix default.conf

Rev openSUSE:Tools/76 Md5 119efb2a17c0067e52987ae36f80bedc 2010-03-08 12:07:38 adrianSuSE None
This commit is contained in:
OBS User adrianSuSE 2010-03-08 12:07:38 +00:00 committed by Git OBS Bridge
parent 344e33fcfd
commit a85799f891
4 changed files with 19 additions and 5 deletions

View File

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

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

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

View File

@ -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

View File

@ -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)