summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2017-11-08 14:17:04 +0100
committerFrediano Ziglio <fziglio@redhat.com>2017-11-08 13:57:19 +0000
commit8cc81bd2a684ca96a641960f215d851d2f7931cc (patch)
tree9b0cff4436f1d3f349652687d674adf75f16cc2f
parent34d73d8ee696e3bee38859243fa997fde137091b (diff)
spec: Use %{buildroot} rather than $RPM_BUILD_ROOT
This is more consistent with how other RPM macros are used (%{release}, %{version}, ...) Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--spice-streaming-agent.spec.in6
1 files 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