forked from pool/python-cmd2
- convert to singlespec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=24
This commit is contained in:
parent
440f9644e9
commit
28bd7f8a75
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 7 07:58:02 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- convert to singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 7 07:40:00 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cmd2
|
||||
Version: 0.7.5
|
||||
Release: 0
|
||||
@ -24,14 +25,17 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://packages.python.org/cmd2/
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pyparsing >= 2.0.1
|
||||
Requires: python-pyperclip
|
||||
Requires: python-six
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Enhancements for standard library's cmd module.
|
||||
|
||||
@ -55,12 +59,12 @@ Drop-in replacement adds several features for command-prompt tools:
|
||||
%setup -q -n cmd2-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user