diff --git a/lz4.spec b/lz4.spec index 7d6fde9..a70d607 100644 --- a/lz4.spec +++ b/lz4.spec @@ -29,7 +29,12 @@ make %{?_smp_mflags} %make_install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p" +%clean +rm -rf $RPM_BUILD_ROOT + + %files +%defattr(-,root,root,-) %doc COPYING NEWS %{_bindir}/lz4 %{_mandir}/man1/lz4.1.gz @@ -38,6 +43,7 @@ make %{?_smp_mflags} %changelog * Tue Oct 08 2013 pjp - r106-4 - defined BuildRoot to fix a build error on ppc platform. +- added clean & default attribute macros. * Mon Oct 07 2013 pjp - r106-3 - fixed install section to replace /usr/ with a macro.