- Allow librpm3 to be used

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=87
This commit is contained in:
2013-11-15 12:08:46 +00:00
committed by Git OBS Bridge
parent 828c6ede45
commit de3751ea08
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 15 12:08:19 UTC 2013 - rguenther@suse.com
- Allow librpm3 to be used
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 12 16:04:25 UTC 2013 - schwab@suse.de Thu Sep 12 16:04:25 UTC 2013 - schwab@suse.de

View File

@@ -458,6 +458,9 @@ fi
if test -f /usr/%{_lib}/librpm.so.2; then if test -f /usr/%{_lib}/librpm.so.2; then
export LIBRPM=librpm.so.2 export LIBRPM=librpm.so.2
fi fi
if test -f /usr/%{_lib}/librpm.so.3; then
export LIBRPM=librpm.so.3
fi
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64 %ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
%define build_multitarget 1 %define build_multitarget 1
%else %else