fix default.conf
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=76
This commit is contained in:
parent
3c52f7d1c4
commit
ca2e1779c7
@ -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
3
build-2010.03.08.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b4590ef2f0c431dfe88b4f4e993e7634d699820f572d19f830bc1010273058a
|
||||
size 100275
|
@ -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
|
||||
|
||||
|
12
build.spec
12
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)
|
||||
|
Loading…
Reference in New Issue
Block a user