[spice-streaming-agent 5/6] spec: Use %{buildroot} rather than $RPM_BUILD_ROOT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is more consistent with how other RPM macros are used (%{release},
%{version}, ...)
---
Changes since v1:
  - more details in the commit log

 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 91e6b88..e8c6d54 100644
--- a/spice-streaming-agent.spec.in
+++ b/spice-streaming-agent.spec.in
@@ -33,9 +33,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
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]