diff --git a/python-PyPDF2.changes b/python-PyPDF2.changes index e0b4c5b..def4f77 100644 --- a/python-PyPDF2.changes +++ b/python-PyPDF2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 14 10:11:40 UTC 2018 - tchvatal@suse.com + +- Use license macro + ------------------------------------------------------------------- Thu Apr 20 04:22:33 UTC 2017 - sflees@suse.de diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 10fa038..cfd6c30 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyPDF2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,23 +20,21 @@ Name: python-PyPDF2 Version: 1.26.0 Release: 0 -Url: http://mstamy2.github.com/PyPDF2 Summary: PDF toolkit License: BSD-3-Clause Group: Development/Languages/Python -Source: https://pypi.io/packages/source/P/PyPDF2/PyPDF2-%{version}.tar.gz +URL: http://mstamy2.github.com/PyPDF2 +Source: https://files.pythonhosted.org/packages/source/P/PyPDF2/PyPDF2-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description A Pure-Python library built as a PDF toolkit. It is capable of: - + - extracting document information (title, author, ...), - splitting documents page by page, - merging documents page by page, @@ -63,8 +61,8 @@ sed -i '/^#!/ d' PyPDF2/pagerange.py chmod a-x CHANGELOG LICENSE README.md %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGELOG LICENSE README.md +%license LICENSE +%doc CHANGELOG README.md %{python_sitelib}/* %changelog