diff --git a/python-lesscpy.spec b/python-lesscpy.spec index 21e9ef7..b054d80 100644 --- a/python-lesscpy.spec +++ b/python-lesscpy.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Lesscss compiler License: MIT Group: Development/Languages/Python -Url: https://github.com/robotis/lesscpy +URL: https://github.com/robotis/lesscpy Source: https://files.pythonhosted.org/packages/source/l/lesscpy/lesscpy-%{version}.tar.gz BuildRequires: %{python_module coverage} BuildRequires: %{python_module flake8} @@ -34,9 +34,9 @@ BuildRequires: %{python_module six} BuildRequires: python-rpm-macros Requires: python-ply Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch -Requires(post): update-alternatives -Requires(postun): update-alternatives %python_subpackages %description @@ -70,8 +70,8 @@ rm test/test_{bootstrap3,less,issues}.py %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %python_alternative %{_bindir}/lesscpy %{python_sitelib}/lesscpy %{python_sitelib}/lesscpy-%{version}-py*.egg-info