use built in macro to RPM
This commit is contained in:
1 parent
a156fb19de
commit
dd70eeb29d
1 file changed
+3
-3
@@ -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