Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xcffib?expand=0&rev=4
This commit is contained in:
parent
678481b5b0
commit
f41893982f
@ -16,17 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
# Missing files for tests
|
# Missing files for tests
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-xcffib
|
Name: python-xcffib
|
||||||
Version: 0.5.1
|
Version: 0.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A drop in replacement for xpyb, an XCB python binding
|
Summary: A drop in replacement for xpyb, an XCB python binding
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/tych0/xcffib
|
URL: http://github.com/tych0/xcffib
|
||||||
Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module cffi}
|
BuildRequires: %{python_module cffi}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -34,13 +33,12 @@ BuildRequires: %{python_module six}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-cffi
|
||||||
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
%endif
|
%endif
|
||||||
Requires: python-cffi
|
|
||||||
Requires: python-six
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -63,8 +61,8 @@ replacement for xpyb.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE README.md
|
%doc README.md
|
||||||
%{python_sitelib}/xcffib/
|
%{python_sitelib}/xcffib/
|
||||||
%{python_sitelib}/xcffib-%{version}-py*.egg-info
|
%{python_sitelib}/xcffib-%{version}-py*.egg-info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user