From 3a6c0ec3266f08bc95fa26167d4fb87032dda2a24321e0782b5f974813658610 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:18:55 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pulsectl?expand=0&rev=4 --- python-pulsectl.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/python-pulsectl.spec b/python-pulsectl.spec index 49058b6..fab2de6 100644 --- a/python-pulsectl.spec +++ b/python-pulsectl.spec @@ -24,20 +24,19 @@ Release: 0 Summary: Python high-level interface and ctypes-based bindings for PulseAudio (libpulse) License: MIT Group: Development/Languages/Python -Url: http://github.com/mk-fg/python-pulse-control +URL: http://github.com/mk-fg/python-pulse-control Source: https://files.pythonhosted.org/packages/source/p/pulsectl/pulsectl-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: pulseaudio >= 5.0 +Requires: python-setuptools +BuildArch: noarch %if %{with test} BuildRequires: libpulse-devel >= 5.0 BuildRequires: pulseaudio BuildRequires: pulseaudio-utils %endif -BuildRequires: fdupes -Requires: pulseaudio >= 5.0 -Requires: python-setuptools -BuildArch: noarch - %python_subpackages %description @@ -62,8 +61,8 @@ play, player-like client). %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYING README.rst +%license COPYING +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog