-install --group=root --owner=root --mode 555 src/efibootmgr/efibootmgr $RPM_BUILD_ROOT/usr/sbin
-install --group=root --owner=root --mode 444 src/man/man8/efibootmgr.8 $RPM_BUILD_ROOT/usr/share/man/man8
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8
+install -p --mode 755 src/%{name}/%{name} %{buildroot}%{_sbindir}
+gzip -9 -c src/man/man8/%{name}.8 > src/man/man8/%{name}.8.gz
+touch -r src/man/man8/%{name}.8 src/man/man8/%{name}.8.gz
+install -p --mode 644 src/man/man8/%{name}.8.gz %{buildroot}%{_mandir}/man8