use built in macro to RPM

This commit is contained in:
Lee Thompson committed 2013-01-29 19:13:22 -06:00
1 parent a156fb19de
commit dd70eeb29d
1 file changed
+3 -3
+3 -3
View File
@@ -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)