From 505e05607aaf060a0ca3342856e1a3d81dd95e8180ba2dd4c24c79f108ff3e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Oct 2018 08:46:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-sql?expand=0&rev=7 --- python-python-sql.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/python-python-sql.spec b/python-python-sql.spec index ac9b641..0c7c746 100644 --- a/python-python-sql.spec +++ b/python-python-sql.spec @@ -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}/*