spec: File cleanups
Own include and lib dirs Mark licenses as %%license Remove redundant -devel and -utils docs https://bugzilla.redhat.com/show_bug.cgi?id=1483290
This commit is contained in:
parent
51daece502
commit
43b234ce26
@ -60,7 +60,9 @@ find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING LICENCE-LGPL-2.1.txt README TODO
|
||||
%license COPYING LICENCE-LGPL-2.1.txt
|
||||
%doc README TODO
|
||||
%dir %{libiscsi_libdir}
|
||||
%{libiscsi_libdir}/libiscsi.so.*
|
||||
%config /etc/ld.so.conf.d/*
|
||||
|
||||
@ -75,7 +77,7 @@ The libiscsi-utils package provides a set of assorted utilities to connect
|
||||
to iSCSI servers without having to set up the Linux iSCSI initiator.
|
||||
|
||||
%files utils
|
||||
%doc COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt README TODO
|
||||
%license LICENCE-GPL-2.txt
|
||||
%{_bindir}/iscsi-ls
|
||||
%{_bindir}/iscsi-inq
|
||||
%{_bindir}/iscsi-readcapacity16
|
||||
@ -98,6 +100,7 @@ The libiscsi-devel package includes the header files for libiscsi.
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING LICENCE-LGPL-2.1.txt README TODO
|
||||
%dir %{libiscsi_includedir}
|
||||
%{libiscsi_includedir}/iscsi.h
|
||||
%{libiscsi_includedir}/scsi-lowlevel.h
|
||||
%{libiscsi_libdir}/libiscsi.so
|
||||
|
||||
Loading…
Reference in New Issue
Block a user