fix license handling

This commit is contained in:
Tom Callaway 2014-08-04 00:16:21 -04:00
parent b99f7ab1cb
commit 24d7240bb4

View File

@ -2,7 +2,7 @@
Name: pyxattr
Summary: Extended attributes library wrapper for Python
Version: 0.5.3
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://pyxattr.k1024.org/
@ -74,17 +74,24 @@ popd
%defattr(0644,root,root,0755)
%{python2_sitearch}/xattr.so
%{python2_sitearch}/*egg-info
%doc COPYING NEWS README
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc NEWS README
%if %{?with_python3}
%files -n python3-%{name}
%defattr(0644,root,root,0755)
%{python3_sitearch}/xattr.cpython-??m.so
%{python3_sitearch}/*egg-info
%doc COPYING NEWS README
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc NEWS README
%endif # with_python3
%changelog
* Mon Aug 4 2014 Tom Callaway <spot@fedoraproject.org> - 0.5.3-2
- fix license handling
* Sat Jun 28 2014 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-1
- Updated to 0.5.3
- Updated the website