Remove needless use of %defattr
This commit is contained in:
parent
4e4211ba46
commit
f1184043a5
@ -146,7 +146,6 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -f libpwquality.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc README NEWS AUTHORS
|
||||
@ -161,7 +160,6 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/pwquality.h
|
||||
%{_libdir}/libpwquality.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
@ -169,14 +167,12 @@ mkdir $RPM_BUILD_ROOT%{_secconfdir}/pwquality.conf.d
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-pwquality
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/pwquality.so
|
||||
%{python_sitearch}/*.egg-info
|
||||
%endif
|
||||
|
||||
%if %{with python3}
|
||||
%files -n python3-pwquality
|
||||
%defattr(-,root,root,-)
|
||||
%{python3_sitearch}/*.so
|
||||
%{python3_sitearch}/*.egg-info
|
||||
%endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user