Hello community,
here is the log from the commit of package python-opengl-accelerate for
openSUSE:Factory checked in at 2017-06-12 15:34:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-opengl-accelerate (Old)
and /work/SRC/openSUSE:Factory/.python-opengl-accelerate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-opengl-accelerate"
Mon Jun 12 15:34:02 2017 rev:6 rq:502723 version:3.1.1a1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-opengl-accelerate/python-opengl-accelerate.changes
2014-07-15 10:08:44.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-opengl-accelerate.new/python-opengl-accelerate.changes
2017-06-12 15:34:04.354475370 +0200
@@ -1,0 +2,6 @@
+Mon Jun 5 11:20:26 UTC 2017 - [email protected]
+
+- Update to version 3.1.1a1
+- Converted to single-spec
+
+-------------------------------------------------------------------
Old:
----
PyOpenGL-accelerate-3.1.0.tar.gz
New:
----
PyOpenGL-accelerate-3.1.1a1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-opengl-accelerate.spec ++++++
--- /var/tmp/diff_new_pack.iFFWnd/_old 2017-06-12 15:34:04.974387937 +0200
+++ /var/tmp/diff_new_pack.iFFWnd/_new 2017-06-12 15:34:04.974387937 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-opengl-accelerate
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,23 +16,26 @@
#
-Name: python-opengl-accelerate
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define tarname PyOpenGL-accelerate
-Version: 3.1.0
+Name: python-opengl-accelerate
+Version: 3.1.1a1
Release: 0
Summary: Acceleration for python-opengl
License: BSD-3-Clause
Group: Development/Libraries/Python
Url: http://pyopengl.sourceforge.net
-Source0:
https://pypi.python.org/packages/source/P/%{tarname}/%{tarname}-%{version}.tar.gz
-BuildRequires: python-Cython
-BuildRequires: python-devel
-BuildRequires: python-numpy-devel
-BuildRequires: python-opengl == %{version}
+Source0:
https://files.pythonhosted.org/packages/source/P/%{tarname}/%{tarname}-%{version}.tar.gz
+BuildRequires: %{python_module Cython}
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module numpy-devel}
+BuildRequires: %{python_module opengl == %{version}}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-numpy
Requires: python-opengl == %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
+%python_subpackages
%description
This set of C (Cython) extensions provides acceleration of common
@@ -44,18 +47,17 @@
%setup -q -n %{tarname}-%{version}
%build
-CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY" python setup.py build
+export CFLAGS="%{optflags} -DGLX_GLXEXT_LEGACY"
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%clean
-rm -rf %{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitearch}
-%files
+%files %{python_files}
%defattr(-,root,root)
%doc README.txt license.txt
%{python_sitearch}/OpenGL_accelerate/
-%{python_sitearch}/PyOpenGL_accelerate-%{version}-py*.egg-info
+%{python_sitearch}/PyOpenGL_accelerate-%{version}-py%{python_version}.egg-info
%changelog
++++++ PyOpenGL-accelerate-3.1.0.tar.gz -> PyOpenGL-accelerate-3.1.1a1.tar.gz
++++++
++++ 13454 lines of diff (skipped)