spec cleanup

This commit is contained in:
Dan Horák 2014-12-06 16:22:18 +01:00
parent bfcb066783
commit 2bd0219071

View File

@ -6,7 +6,6 @@ License: GPLv2+
Group: Applications/System Group: Applications/System
Source0: http://sg.danny.cz/scsi/%{name}-%{version}.tgz Source0: http://sg.danny.cz/scsi/%{name}-%{version}.tgz
URL: http://sg.danny.cz/scsi/lsscsi.html URL: http://sg.danny.cz/scsi/lsscsi.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description %description
Uses information provided by the sysfs pseudo file system in Linux kernel Uses information provided by the sysfs pseudo file system in Linux kernel
@ -29,19 +28,13 @@ make %{?_smp_mflags}
%install %install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root)
%doc ChangeLog INSTALL README CREDITS AUTHORS COPYING %doc ChangeLog INSTALL README CREDITS AUTHORS COPYING
%attr(0755,root,root) %{_bindir}/* %{_bindir}/%{name}
%{_mandir}/man8/* %{_mandir}/man8/%{name}.8*
%changelog %changelog