15
0

- Switch to github url to contain the LICENSE file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dj-database-url?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2017-12-13 14:52:30 +00:00
committed by Git OBS Bridge
parent 5d244604ac
commit 2fb81deee1
4 changed files with 14 additions and 10 deletions

View File

@@ -13,6 +13,7 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,17 +21,16 @@
Name: python-dj-database-url
Version: 0.4.2
Release: 0
License: BSD-3-Clause
Summary: Use Database URLs in your Django Application
Url: https://github.com/kennethreitz/dj-database-url
License: BSD-3-Clause
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/d/dj-database-url/dj-database-url-%{version}.tar.gz
BuildRequires: python-rpm-macros
Url: https://github.com/kennethreitz/dj-database-url
Source: https://github.com/kennethreitz/dj-database-url/archive/v%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -62,8 +62,7 @@ Oracle, Oracle (GIS), and SQLite.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%doc README.rst LICENSE
%{python_sitelib}/*
%changelog