Accepting request 618112 from devel:languages:python:singlespec-staging

Clean SPEC file

OBS-URL: https://build.opensuse.org/request/show/618112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=9
This commit is contained in:
Matej Cepl 2018-06-20 16:37:04 +00:00 committed by Git OBS Bridge
parent d5164493f2
commit 9e8b3974af
4 changed files with 41 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11ead462f8d0f8302ee07b33fe93dc42c653861a16c8802a31903a7355b8351b
size 57833

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jun 20 16:36:09 UTC 2018 - mcepl@suse.com
- Clean SPEC file
-------------------------------------------------------------------
Thu Aug 24 13:39:13 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Tue Jan 31 14:51:13 UTC 2012 - saschpe@suse.de
@ -27,3 +37,4 @@ Fri Jun 27 10:53:42 CEST 2008 - prusnak@suse.cz
python-fuse provides python bindings to the fuse library (fuse = userspace filesystem)

View File

@ -1,7 +1,7 @@
#
# spec file for package python-fuse
#
# Copyright (c) 2011 SUSE LINUX Products 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
@ -11,40 +11,45 @@
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: python-fuse
Version: 0.2.1
Release: 1
License: LGPL-2.1
Summary: Python bindings for FUSE
Url: http://sourceforge.net/projects/fuse/files/fuse-python/
Group: Development/Libraries/Python
Source: fuse-python-%{version}.tar.gz
BuildRequires: fuse-devel
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-fuse
Version: 0.3.1
Release: 0
Summary: Python bindings for FUSE
License: LGPL-2.1-only
Group: Development/Libraries/Python
URL: https://github.com/libfuse/python-fuse
Source: https://github.com/libfuse/%{name}/archive/v%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: fdupes
BuildRequires: fuse-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
%python_subpackages
%description
Python bindings for FUSE (User space File System)
%prep
%setup -q -n fuse-python-%{version}
%setup -q
%build
CFLAGS="%{optflags}" python setup.py build
export CFLAGS="%{optflags}"
%python_build
%install
python setup.py install --root=%{buildroot} --prefix=%{_prefix} --record-rpm=INSTALLED_FILES
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%files %{python_files}
%license COPYING
%doc README.* FAQ AUTHORS
%{python_sitearch}/fuse*
%pycache_only %{python_sitearch}/__pycache__
%changelog

3
v0.3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:243cfab15ee357dbcdac98c2ee5929f6e8c65d2ec9d77597e3732f79ce649eec
size 45391