diff --git a/python-cogapp.changes b/python-cogapp.changes index 22974ae..1cc4999 100644 --- a/python-cogapp.changes +++ b/python-cogapp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:46:44 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Apr 14 22:54:18 UTC 2017 - toddrme2178@gmail.com diff --git a/python-cogapp.spec b/python-cogapp.spec index ec30186..dc19bf2 100644 --- a/python-cogapp.spec +++ b/python-cogapp.spec @@ -1,7 +1,7 @@ # # spec file for package python-cogapp # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,19 +24,16 @@ Release: 0 Summary: A code generator for executing Python snippets in source files License: MIT Group: Development/Languages/Python -Url: http://nedbatchelder.com/code/cog +URL: http://nedbatchelder.com/code/cog Source: https://files.pythonhosted.org/packages/source/c/cogapp/cogapp-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(preun): update-alternatives +BuildArch: noarch %if %{with test} BuildRequires: %{python_module nose} %endif -BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -Requires(post): update-alternatives -Requires(preun): update-alternatives - %python_subpackages %description @@ -67,8 +64,8 @@ mv %{buildroot}%{_bindir}/cog.py %{buildroot}%{_bindir}/cog %python_uninstall_alternative cog %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt +%license LICENSE.txt +%doc README.txt %python_alternative %{_bindir}/cog %{python_sitelib}/*