14
0
Tomáš Chvátal
2018-10-03 08:46:16 +00:00
committed by Git OBS Bridge
parent 5c53d9f0dc
commit 505e05607a

View File

@@ -17,20 +17,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define base_name python-sql %define base_name python-sql
Name: python-%{base_name} Name: python-%{base_name}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Version: 1.0.0 Version: 1.0.0
Release: 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 Summary: Library to write SQL queries
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python 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 %python_subpackages
%description %description
@@ -49,8 +47,6 @@ python-sql is a library to write SQL queries in a pythonic way.
%python_exec setup.py test %python_exec setup.py test
%files %{python_files} %files %{python_files}
%defattr(-,root,root)
##%license LICENSE
%doc README %doc README
%{python_sitelib}/* %{python_sitelib}/*