From f82a7a3a48b1f5b93e81c647e7d7066e6757d6310fe8338f0eea6af7624d05ee Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:01 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glfw?expand=0&rev=4 --- python-glfw.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-glfw.spec b/python-glfw.spec index fed900e..6405d7f 100644 --- a/python-glfw.spec +++ b/python-glfw.spec @@ -24,17 +24,16 @@ Release: 0 Summary: A ctypes-based wrapper for GLFW3 License: MIT Group: Development/Languages/Python -Url: https://github.com/FlorianRhiem/pyGLFW +URL: https://github.com/FlorianRhiem/pyGLFW Source: https://files.pythonhosted.org/packages/source/g/glfw/glfw-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: libglfw3 +BuildArch: noarch %if %{with test} BuildRequires: libglfw3 %endif -Requires: libglfw3 -BuildArch: noarch - %python_subpackages %description @@ -69,8 +68,8 @@ except for: %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.txt LICENSE.txt README.txt +%license LICENSE.txt +%doc CHANGES.txt README.txt %{python_sitelib}/* %changelog