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}/*