We need to switch to build dir in install section, too.
authorBjoern Sikora <bjoern.sikora@intra2net.com>
Thu, 15 Oct 2009 14:59:26 +0000 (16:59 +0200)
committerBjoern Sikora <bjoern.sikora@intra2net.com>
Thu, 15 Oct 2009 14:59:26 +0000 (16:59 +0200)
bpdyndnsd.spec

index adbb99f..5c7b03b 100644 (file)
@@ -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