14
0
forked from pool/python-PyPDF2

Accepting request 306412 from home:benoit_monin:branches:devel:languages:python

- update to version 1.24
- remove unwanted shebang in pagerange.py
- rename README to README.md: changed upstream

OBS-URL: https://build.opensuse.org/request/show/306412
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyPDF2?expand=0&rev=4
This commit is contained in:
Denisart Benjamin
2015-05-16 12:53:37 +00:00
committed by Git OBS Bridge
parent 516ffc9a2c
commit f190fd47b4
4 changed files with 131 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyPDF2
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@@ -11,12 +11,13 @@
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-PyPDF2
Version: 1.19
Version: 1.24
Release: 0
Url: http://mstamy2.github.com/PyPDF2
Summary: PDF toolkit
@@ -49,17 +50,19 @@ It is therefore a useful tool for websites that manage or manipulate PDFs.
%prep
%setup -q -n PyPDF2-%{version}
#remove unwanted shebang
sed -i '/^#!/ d' PyPDF2/pagerange.py
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
chmod a-x CHANGELOG LICENSE README
chmod a-x CHANGELOG LICENSE README.md
%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE README
%doc CHANGELOG LICENSE README.md
%{python_sitelib}
%changelog