From 180079a36e533d1e6e33fd9fc72d39ffe1b1e04ed385fa05979e5fd1282ed257 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:39 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=78 --- python-py2pack.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/python-py2pack.spec b/python-py2pack.spec index 9ef8fbf..ca31ff5 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -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