From 0b7fe472182c45d37555c56afe72ab3fcc15765f Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Jan 31 2009 11:50:27 +0000 Subject: - oops, db svc util is named differently in fedora --- diff --git a/rpm.spec b/rpm.spec index 5a4c172..6f487ec 100644 --- a/rpm.spec +++ b/rpm.spec @@ -228,12 +228,14 @@ done # plant links to db utils as rpmdb_foo so existing documantion is usable %if %{without int_bdb} +dbprefix=db45 for dbutil in \ archive deadlock dump load printlog \ - recover stat svc upgrade verify + recover stat upgrade verify do - ln -s ../../bin/db45_$dbutil $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_$dbutil + ln -s ../../bin/${dbprefix}_${dbutil} $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_${dbutil} done +ln -s ../../bin/berkeley_${dbprefix}_svc $RPM_BUILD_ROOT/%{rpmhome}/rpmdb_svc %endif %find_lang %{name}