forked from pool/python-python-sql
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-sql?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
5c53d9f0dc
commit
505e05607a
@@ -17,20 +17,18 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
%define base_name python-sql
|
||||
Name: python-%{base_name}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
|
||||
Url: https://pypi.io/project/python-sql
|
||||
BuildArch: noarch
|
||||
Summary: Library to write SQL queries
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: https://pypi.io/project/python-sql
|
||||
Source: https://pypi.io/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -40,7 +38,7 @@ python-sql is a library to write SQL queries in a pythonic way.
|
||||
%setup -q -n %{base_name}-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
@@ -49,8 +47,6 @@ python-sql is a library to write SQL queries in a pythonic way.
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
##%license LICENSE
|
||||
%doc README
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Reference in New Issue
Block a user