forked from pool/python-pytools
- Install license
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytools?expand=0&rev=6
This commit is contained in:
@@ -23,7 +23,8 @@ Summary: A collection of tools for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pypi.python.org/pypi/pytools
|
||||
Source: http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz
|
||||
Source0: http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz
|
||||
Source1: LICENSE.mit
|
||||
BuildRequires: python-appdirs
|
||||
BuildRequires: python-decorator
|
||||
BuildRequires: python-devel
|
||||
@@ -52,6 +53,7 @@ nonetheless, here's what's on offer:
|
||||
|
||||
%prep
|
||||
%setup -q -n pytools-%{version}
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -64,7 +66,7 @@ python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%doc README LICENSE.mit
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user