Hello community,

here is the log from the commit of package python-fuse for openSUSE:Factory 
checked in at 2018-07-28 12:45:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fuse (Old)
 and      /work/SRC/openSUSE:Factory/.python-fuse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fuse"

Sat Jul 28 12:45:28 2018 rev:7 rq:625821 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fuse/python-fuse.changes  2012-02-14 
11:26:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-fuse.new/python-fuse.changes     
2018-07-28 12:45:29.889000393 +0200
@@ -1,0 +2,10 @@
+Wed Jun 20 16:36:09 UTC 2018 - [email protected]
+
+- Clean SPEC file
+
+-------------------------------------------------------------------
+Thu Aug 24 13:39:13 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -28,0 +39 @@
+

Old:
----
  fuse-python-0.2.1.tar.gz

New:
----
  v0.3.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-fuse.spec ++++++
--- /var/tmp/diff_new_pack.VRaihh/_old  2018-07-28 12:45:30.337001208 +0200
+++ /var/tmp/diff_new_pack.VRaihh/_new  2018-07-28 12:45:30.341001215 +0200
@@ -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/
 #
 
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fuse
-Version:        0.2.1
-Release:        1
-License:        LGPL-2.1
+Version:        0.3.1
+Release:        0
 Summary:        Python bindings for FUSE
-Url:            http://sourceforge.net/projects/fuse/files/fuse-python/
+License:        LGPL-2.1-only
 Group:          Development/Libraries/Python
-Source:         fuse-python-%{version}.tar.gz
+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:  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
+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


Reply via email to