From 9a174c6ac2db7765ce6fa46d67d29b0d9f3a3d599d0cc2118e91701c348522fd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:16:11 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lesscpy?expand=0&rev=14 --- python-lesscpy.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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