summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jq.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/jq.spec b/jq.spec
index ea7fe98a..4bdcac6f 100644
--- a/jq.spec
+++ b/jq.spec
@@ -31,11 +31,11 @@ echo "Building in: \"$(pwd)\""
make
%install
-echo "Installing to: \"${RPM_BUILD_ROOT}\""
-make install DESTDIR=${RPM_BUILD_ROOT}
+echo "Installing to: \"${_buildroot}\""
+make install DESTDIR=${_buildroot}
%clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf ${_buildroot}
%files
%defattr(-,root,root)