- Sort out the deps a bit and add missing libfuse2 dependency

to make the plugin actually work

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fusepy?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal 2019-10-16 13:16:31 +00:00 committed by Git OBS Bridge
parent 8d57fbb943
commit af048551c3
2 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 16 13:15:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Sort out the deps a bit and add missing libfuse2 dependency
to make the plugin actually work
-------------------------------------------------------------------
Thu May 23 07:01:47 UTC 2019 - pgajdos@suse.com

View File

@ -17,26 +17,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-fusepy
Version: 3.0.1
Release: 0
Summary: A python module that provides a simple interface to FUSE
License: ISC
Group: Development/Libraries/Python
Url: https://github.com/terencehonles/fusepy
URL: https://github.com/fusepy/fusepy
Source: https://files.pythonhosted.org/packages/source/f/fusepy/fusepy-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fuse-devel
BuildRequires: pkg-config
# required for older SUSE versions w/o python single-spec support
BuildRequires: libfuse2
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
# this is not really fuse3 compatible
Requires: libfuse2
# both projects use the same python package name
Conflicts: python-fuse
# fusepy interfaces via ctypes to libfuse, so no arch dependent elements
# should be in the package
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# both projects use the same python package name
Conflicts: python-fuse
%python_subpackages
%description
@ -57,7 +55,6 @@ possible.
# no upstream tests
%files %{python_files}
%defattr(-,root,root)
%{python_sitelib}/*
%doc README.rst