14
0
forked from pool/python-PyPDF2

Accepting request 606992 from devel:languages:python

- Use license macro

OBS-URL: https://build.opensuse.org/request/show/606992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyPDF2?expand=0&rev=5
This commit is contained in:
2018-05-15 08:15:26 +00:00
committed by Git OBS Bridge
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 Thu Apr 20 04:22:33 UTC 2017 - sflees@suse.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-PyPDF2 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -20,18 +20,16 @@
Name: python-PyPDF2 Name: python-PyPDF2
Version: 1.26.0 Version: 1.26.0
Release: 0 Release: 0
Url: http://mstamy2.github.com/PyPDF2
Summary: PDF toolkit Summary: PDF toolkit
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python 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 devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -63,8 +61,8 @@ sed -i '/^#!/ d' PyPDF2/pagerange.py
chmod a-x CHANGELOG LICENSE README.md chmod a-x CHANGELOG LICENSE README.md
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc CHANGELOG LICENSE README.md %doc CHANGELOG README.md
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog