---
 spice-streaming-agent.spec.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/spice-streaming-agent.spec.in b/spice-streaming-agent.spec.in
index e384951..8c4f26e 100644
--- a/spice-streaming-agent.spec.in
+++ b/spice-streaming-agent.spec.in
@@ -34,9 +34,9 @@ agent plugins.
 make %{?_smp_mflags} V=1
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT V=1
-if test -d "$RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins"; then
-    find $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins -name '*.la' -delete
+make install DESTDIR=%{buildroot} V=1
+if test -d "%{buildroot}/%{_libdir}/%{name}/plugins"; then
+    find %{buildroot}/%{_libdir}/%{name}/plugins -name '*.la' -delete
 fi
 
 %post
-- 
2.13.6

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to