Accepting request 91824 from home:klaussfreire:branches:devel:languages:python

Fix for the license file (didn't mention the copyright holder). Upstream issue 90.

OBS-URL: https://build.opensuse.org/request/show/91824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipaddr?expand=0&rev=19
This commit is contained in:
Claudio Freire 2011-11-16 15:27:35 +00:00 committed by Git OBS Bridge
parent 3dba2f42c0
commit 440c70fb16
3 changed files with 22 additions and 0 deletions

13
license-fix-i90.patch Normal file
View File

@ -0,0 +1,13 @@
Index: COPYING
===================================================================
--- COPYING (revision 233)
+++ COPYING (revision 234)
@@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright 2008 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 16 14:19:51 UTC 2011 - klaussfreire@users.sourceforge.net
- Fix license file to have proper attribution
(upstream issue 90)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 22 08:32:18 UTC 2011 - saschpe@suse.de Thu Sep 22 08:32:18 UTC 2011 - saschpe@suse.de

View File

@ -23,6 +23,8 @@ Summary: Google's IP address manipulation library
License: Apache License, Version 2.0 License: Apache License, Version 2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Source: ipaddr-%{version}.tar.gz Source: ipaddr-%{version}.tar.gz
# PATCH-FIX-UPSTREAM license-fix-i90.patch [#90]
Patch0: license-fix-i90.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-distribute
@ -42,6 +44,7 @@ addresses and prefixes.
%prep %prep
%setup -q -n ipaddr-%{version} %setup -q -n ipaddr-%{version}
%patch0 -p0
sed -i "1d" ipaddr.py # Fix non-executable script sed -i "1d" ipaddr.py # Fix non-executable script
%build %build