Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyPika?expand=0&rev=2
This commit is contained in:
@@ -15,23 +15,24 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-PyPika
|
||||
Version: 0.48.9
|
||||
Release: 0
|
||||
Summary: A SQL query builder API for Python
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/kayak/pypika
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/kayak/pypika
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyPika/PyPika-%{version}.tar.gz
|
||||
Source1: https://github.com/kayak/pypika/archive/refs/tags/v%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
Source1: https://github.com/kayak/pypika/archive/refs/tags/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module parameterized}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module parameterized}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -42,9 +43,10 @@ A SQL query builder API for Python. The motivation behind PyPika is to provide a
|
||||
%autosetup -p1 -n PyPika-%{version}
|
||||
# tests are not included in the tarball from pypi
|
||||
(cd ..; tar xf %{SOURCE1} pypika-%{version}/pypika/tests)
|
||||
|
||||
%build
|
||||
|
||||
cp -r ../pypika-%{version}/pypika/tests ./pypika
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user