From 8736d06688292cc43d29969f5cd7ea8ebca812cfdcbeb611d64781bb159f61fd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:15:26 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-iso8601?expand=0&rev=20 --- python-iso8601.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python-iso8601.spec b/python-iso8601.spec index 3cb7d38..2a24f50 100644 --- a/python-iso8601.spec +++ b/python-iso8601.spec @@ -20,17 +20,15 @@ Name: python-iso8601 Version: 0.1.12 Release: 0 -Url: http://code.google.com/p/pyiso8601/ Summary: Simple module to parse ISO 8601 dates License: MIT Group: Development/Languages/Python +URL: http://code.google.com/p/pyiso8601/ Source: iso8601-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module pytest >= 2.4.2} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -51,9 +49,9 @@ This module parses the most common forms of ISO 8601 date strings (e.g. %check %python_exec %{_bindir}/py.test --verbose iso8601 -%files %python_files -%defattr(-,root,root,-) -%doc README.rst LICENSE +%files %{python_files} +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog