1
0
forked from pool/python-PyPDF2
Tomáš Chvátal
2018-05-14 10:11:58 +00:00
committed by Git OBS Bridge
parent 0471fd5ccb
commit 231eea02cf
2 changed files with 11 additions and 8 deletions

View File

@@ -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

View File

@@ -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