We need to switch to build dir in install section, too.
[bpdyndnsd] / 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