diff --git a/python-pyngus.changes b/python-pyngus.changes index 75c246f..febeaf7 100644 --- a/python-pyngus.changes +++ b/python-pyngus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:52:31 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Aug 7 09:25:24 UTC 2017 - tbechtold@suse.com diff --git a/python-pyngus.spec b/python-pyngus.spec index a777f3a..dae16ef 100644 --- a/python-pyngus.spec +++ b/python-pyngus.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyngus # -# 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,23 +24,19 @@ Release: 0 Summary: Callback API implemented over Proton License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/kgiusti/pyngus +URL: https://github.com/kgiusti/pyngus Source: https://files.pythonhosted.org/packages/source/p/pyngus/pyngus-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +Requires: python-python-qpid-proton >= 0.9 +BuildArch: noarch %if %{with test} BuildRequires: %{python_module python-qpid-proton >= 0.9} %endif -Requires: python-python-qpid-proton >= 0.9 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description - %prep %setup -q -n pyngus-%{version} @@ -51,8 +47,8 @@ BuildArch: noarch %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.md +%license LICENSE +%doc README.md %{python_sitelib}/* %changelog