From 5dadeaf2f1a1b1d63a32d99553de803ae5d59f7fcbba17e3c915478a4945638a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:19:46 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyngus?expand=0&rev=5 --- python-pyngus.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/python-pyngus.spec b/python-pyngus.spec index 10a7473..dae16ef 100644 --- a/python-pyngus.spec +++ b/python-pyngus.spec @@ -24,22 +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 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} @@ -50,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