diff --git a/python-pyclipper.spec b/python-pyclipper.spec index 04c20eb..81eadb3 100644 --- a/python-pyclipper.spec +++ b/python-pyclipper.spec @@ -1,6 +1,7 @@ # # spec file for package python-pyclipper # +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2020 Xu Zhao (i@xuzhao.net). # # All modifications and additions to the file contributed by third parties @@ -15,27 +16,25 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} - -Name: python-pyclipper -Version: 1.1.0.post3 -Release: 0 -Summary: Cython wrapper for the Clipper library -License: MIT -Group: Development/Languages/Python -URL: https://github.com/fonttools/pyclipper -Source: pyclipper-%{version}.zip -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module Cython} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module unittest2} -BuildRequires: gcc-c++ -BuildRequires: unzip -BuildRequires: fdupes - +Name: python-pyclipper +Version: 1.1.0.post3 +Release: 0 +Summary: Cython wrapper for the Clipper library +License: MIT +URL: https://github.com/fonttools/pyclipper +Source: https://files.pythonhosted.org/packages/source/p/pyclipper/pyclipper-%{version}.zip +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module unittest2} +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: python-rpm-macros +BuildRequires: unzip %python_subpackages %description @@ -43,9 +42,6 @@ Pyclipper is a Cython wrapper exposing public functions and classes of the C++ translation of the `Angus Johnson's Clipper library (ver. 6.4.2) `__. -Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu -14.04, x64) and Windows (8.1, x64). - %prep %setup -q -n pyclipper-%{version} @@ -65,4 +61,3 @@ Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu %{python_sitearch}/* %changelog -