Name: attr
%define lname libattr
Summary: Commands for Manipulating Extended Attributes
-License: GPL-2.0+ ; LGPL-2.1+
+License: GPL-2.0+ and LGPL-2.1+
Group: Base/File Systems
Version: 2.4.47
Release: 0
install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir}
chmod 755 $RPM_BUILD_ROOT/%{_libdir}/libattr.so.1*
+%remove_docs
+
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
-%docs_package
-
%files
%manifest %{name}.manifest
%defattr (-,root,root)
-%dir %attr(755,root,root) /usr/share/doc/packages/attr
-%doc %attr(644,root,root) /usr/share/doc/packages/attr/README
-%doc %attr(644,root,root) /usr/share/doc/packages/attr/CHANGES.gz
-%doc %attr(644,root,root) /usr/share/doc/packages/attr/COPYING
-%doc %attr(644,root,root) /usr/share/doc/packages/attr/PORTING
+%license doc/COPYING
%attr(755,root,root) %{_bindir}/attr
%attr(755,root,root) %{_bindir}/getfattr
%attr(755,root,root) %{_bindir}/setfattr
%files -n %lname
%manifest %{name}.manifest
%defattr (-,root,root)
+%license doc/COPYING.LGPL
%{_libdir}/libattr.so.1*
%config %{_sysconfdir}/xattr.conf
-%dir %attr(755,root,root) /usr/share/doc/packages/attr
-%doc %attr(644,root,root) /usr/share/doc/packages/attr/COPYING.LGPL
%changelog