forked from pool/python-py2pack
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=78
This commit is contained in:
@@ -20,12 +20,11 @@
|
||||
Name: python-py2pack
|
||||
Version: 0.8.3
|
||||
Release: 0
|
||||
Url: https://github.com/openSUSE/py2pack
|
||||
Summary: Generate distribution packages from Python packages on PyPI
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/openSUSE/py2pack
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module metaextract}
|
||||
@@ -79,14 +78,13 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
%python_uninstall_alternative py2pack
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%python_alternative %{_bindir}/py2pack
|
||||
%{python_sitelib}/py2pack-%{version}-py*.egg-info
|
||||
%{python_sitelib}/py2pack/
|
||||
|
||||
%files -n %{name}-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%doc doc/build/html/
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user