mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
use built in macro to RPM
This commit is contained in:
6
jq.spec
6
jq.spec
@@ -31,11 +31,11 @@ echo "Building in: \"$(pwd)\""
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
echo "Installing to: \"${RPM_BUILD_ROOT}\""
|
echo "Installing to: \"${_buildroot}\""
|
||||||
make install DESTDIR=${RPM_BUILD_ROOT}
|
make install DESTDIR=${_buildroot}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${_buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Reference in New Issue
Block a user