diff --git a/license-fix-i90.patch b/license-fix-i90.patch new file mode 100644 index 0000000..28350b4 --- /dev/null +++ b/license-fix-i90.patch @@ -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. diff --git a/python-ipaddr.changes b/python-ipaddr.changes index 40b0d31..ecb9a43 100644 --- a/python-ipaddr.changes +++ b/python-ipaddr.changes @@ -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 diff --git a/python-ipaddr.spec b/python-ipaddr.spec index 1e4a061..72e8585 100644 --- a/python-ipaddr.spec +++ b/python-ipaddr.spec @@ -23,6 +23,8 @@ Summary: Google's IP address manipulation library License: Apache License, Version 2.0 Group: Development/Languages/Python Source: ipaddr-%{version}.tar.gz +# PATCH-FIX-UPSTREAM license-fix-i90.patch [#90] +Patch0: license-fix-i90.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute @@ -42,6 +44,7 @@ addresses and prefixes. %prep %setup -q -n ipaddr-%{version} +%patch0 -p0 sed -i "1d" ipaddr.py # Fix non-executable script %build