Remove needless use of %defattr

This commit is contained in:
Jason Tibbitts 2018-07-10 01:18:05 -05:00
parent 84f36bf179
commit 52479fefec

View File

@ -110,7 +110,6 @@ getent passwd sanlock > /dev/null || /usr/sbin/useradd \
%endif %endif
%files %files
%defattr(-,root,root,-)
%if %{with_systemd} %if %{with_systemd}
/usr/lib/systemd/systemd-wdmd /usr/lib/systemd/systemd-wdmd
%{_unitdir}/sanlock.service %{_unitdir}/sanlock.service
@ -148,7 +147,6 @@ access to the shared disks.
%postun lib -p /sbin/ldconfig %postun lib -p /sbin/ldconfig
%files lib %files lib
%defattr(-,root,root,-)
%{_libdir}/libsanlock.so.* %{_libdir}/libsanlock.so.*
%{_libdir}/libsanlock_client.so.* %{_libdir}/libsanlock_client.so.*
%{_libdir}/libwdmd.so.* %{_libdir}/libwdmd.so.*
@ -169,7 +167,6 @@ written in the Python programming language to use the interface
supplied by the sanlock library. supplied by the sanlock library.
%files -n python2-sanlock %files -n python2-sanlock
%defattr(-,root,root,-)
%{python_sitearch}/sanlock_python-*.egg-info %{python_sitearch}/sanlock_python-*.egg-info
%{python_sitearch}/sanlock.so %{python_sitearch}/sanlock.so
@ -183,7 +180,6 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%files devel %files devel
%defattr(-,root,root,-)
%{_libdir}/libwdmd.so %{_libdir}/libwdmd.so
%{_includedir}/wdmd.h %{_includedir}/wdmd.h
%{_libdir}/libsanlock.so %{_libdir}/libsanlock.so
@ -209,7 +205,6 @@ running the client, so long as both maintain access to a
common sanlock lockspace. common sanlock lockspace.
%files -n sanlk-reset %files -n sanlk-reset
%defattr(-,root,root,-)
%{_sbindir}/sanlk-reset %{_sbindir}/sanlk-reset
%{_sbindir}/sanlk-resetd %{_sbindir}/sanlk-resetd
%if %{with_systemd} %if %{with_systemd}