forked from pool/python-pydenticon
Add LICENSE and README.rst
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydenticon?expand=0&rev=2
This commit is contained in:
@@ -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,14 +21,14 @@
|
||||
Name: python-%{modname}
|
||||
Version: 0.3
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: Library for generating identicons
|
||||
Url: https://github.com/azaghal/%{modname}
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/azaghal/%{modname}
|
||||
Source: https://pypi.io/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -59,10 +60,11 @@ original Sigil implementation, like:
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{modname}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user