From 24d7240bb4a6819b3669bf1594a3357c00ffcf7a Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Aug 04 2014 04:16:21 +0000 Subject: fix license handling --- diff --git a/pyxattr.spec b/pyxattr.spec index 287e677..22d587b 100644 --- a/pyxattr.spec +++ b/pyxattr.spec @@ -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 - 0.5.3-2 +- fix license handling + * Sat Jun 28 2014 Miro HronĨok - 0.5.3-1 - Updated to 0.5.3 - Updated the website