From: Bjoern Sikora Date: Thu, 15 Oct 2009 14:59:26 +0000 (+0200) Subject: We need to switch to build dir in install section, too. X-Git-Tag: v1.1~144 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=47b4c02ce918386a5ebdde11381fabe30ebde21d;p=bpdyndnsd We need to switch to build dir in install section, too. --- diff --git a/bpdyndnsd.spec b/bpdyndnsd.spec index adbb99f..5c7b03b 100644 --- a/bpdyndnsd.spec +++ b/bpdyndnsd.spec @@ -30,7 +30,9 @@ cmake .. make %install +cd build make DESTDIR=%{buildroot} install +cd .. %{__mkdir_p} %{buildroot}/etc/bpdyndnsd install -m 640 config/bpdyndnsd.conf %{buildroot}/etc/bpdyndnsd/ %{__mkdir_p} %{buildroot}/etc/init.d