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
|
Name: python-py2pack
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://github.com/openSUSE/py2pack
|
|
||||||
Summary: Generate distribution packages from Python packages on PyPI
|
Summary: Generate distribution packages from Python packages on PyPI
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/openSUSE/py2pack
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz
|
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 Jinja2}
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: %{python_module metaextract}
|
BuildRequires: %{python_module metaextract}
|
||||||
@@ -79,14 +78,13 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
|||||||
%python_uninstall_alternative py2pack
|
%python_uninstall_alternative py2pack
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%python_alternative %{_bindir}/py2pack
|
%python_alternative %{_bindir}/py2pack
|
||||||
%{python_sitelib}/py2pack-%{version}-py*.egg-info
|
%{python_sitelib}/py2pack-%{version}-py*.egg-info
|
||||||
%{python_sitelib}/py2pack/
|
%{python_sitelib}/py2pack/
|
||||||
|
|
||||||
%files -n %{name}-doc
|
%files -n %{name}-doc
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc AUTHORS LICENSE
|
%doc AUTHORS
|
||||||
%doc doc/build/html/
|
%doc doc/build/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user