From 9e8b3974aff503a3813fc60c4059f0095629b50ca34f7a1aeea8897e4c606450 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 20 Jun 2018 16:37:04 +0000 Subject: [PATCH] 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 --- fuse-python-0.2.1.tar.gz | 3 --- python-fuse.changes | 11 +++++++++ python-fuse.spec | 49 ++++++++++++++++++++++------------------ v0.3.1.tar.gz | 3 +++ 4 files changed, 41 insertions(+), 25 deletions(-) delete mode 100644 fuse-python-0.2.1.tar.gz create mode 100644 v0.3.1.tar.gz diff --git a/fuse-python-0.2.1.tar.gz b/fuse-python-0.2.1.tar.gz deleted file mode 100644 index c2afa7d..0000000 --- a/fuse-python-0.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11ead462f8d0f8302ee07b33fe93dc42c653861a16c8802a31903a7355b8351b -size 57833 diff --git a/python-fuse.changes b/python-fuse.changes index a71c10f..04eeed3 100644 --- a/python-fuse.changes +++ b/python-fuse.changes @@ -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) + diff --git a/python-fuse.spec b/python-fuse.spec index 70df9e1..57762b6 100644 --- a/python-fuse.spec +++ b/python-fuse.spec @@ -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 diff --git a/v0.3.1.tar.gz b/v0.3.1.tar.gz new file mode 100644 index 0000000..65413b0 --- /dev/null +++ b/v0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:243cfab15ee357dbcdac98c2ee5929f6e8c65d2ec9d77597e3732f79ce649eec +size 45391