fix license handling
This commit is contained in:
parent
b99f7ab1cb
commit
24d7240bb4
13
pyxattr.spec
13
pyxattr.spec
@ -2,7 +2,7 @@
|
|||||||
Name: pyxattr
|
Name: pyxattr
|
||||||
Summary: Extended attributes library wrapper for Python
|
Summary: Extended attributes library wrapper for Python
|
||||||
Version: 0.5.3
|
Version: 0.5.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://pyxattr.k1024.org/
|
URL: http://pyxattr.k1024.org/
|
||||||
@ -74,17 +74,24 @@ popd
|
|||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{python2_sitearch}/xattr.so
|
%{python2_sitearch}/xattr.so
|
||||||
%{python2_sitearch}/*egg-info
|
%{python2_sitearch}/*egg-info
|
||||||
%doc COPYING NEWS README
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS README
|
||||||
|
|
||||||
%if %{?with_python3}
|
%if %{?with_python3}
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{python3_sitearch}/xattr.cpython-??m.so
|
%{python3_sitearch}/xattr.cpython-??m.so
|
||||||
%{python3_sitearch}/*egg-info
|
%{python3_sitearch}/*egg-info
|
||||||
%doc COPYING NEWS README
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS README
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jun 28 2014 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-1
|
||||||
- Updated to 0.5.3
|
- Updated to 0.5.3
|
||||||
- Updated the website
|
- Updated the website
|
||||||
|
Loading…
Reference in New Issue
Block a user