summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-06-09 15:49:08 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2011-06-09 15:49:08 +0200
commitfbad219de3b0ae47a4971cf78e906af68cc97bb7 (patch)
tree8f12c75e481a66355daf982275b33e854b2d6cef
parent3b8f80d2ea23d3d6e433526f4e8f3b527c9b2918 (diff)
downloadabrt-fbad219de3b0ae47a4971cf78e906af68cc97bb7.zip
abrt-fbad219de3b0ae47a4971cf78e906af68cc97bb7.tar.gz
abrt-fbad219de3b0ae47a4971cf78e906af68cc97bb7.tar.xz
libreport: fixed licence headers in source codes
-rw-r--r--libreport/libreport.spec8
-rw-r--r--libreport/src/include/event_config.h1
-rw-r--r--libreport/src/include/hash_sha1.h14
-rw-r--r--libreport/src/include/libreport.h22
-rw-r--r--libreport/src/include/problem_data.h2
-rw-r--r--libreport/src/include/report.h2
-rw-r--r--libreport/src/include/run_event.h2
-rw-r--r--libreport/src/lib/binhex.c10
-rw-r--r--libreport/src/lib/concat_path_file.c14
-rw-r--r--libreport/src/lib/encbase64.c17
-rw-r--r--libreport/src/lib/hash_sha1.c17
-rw-r--r--libreport/src/lib/overlapping_strcpy.c18
-rw-r--r--libreport/src/lib/read_write.c17
-rw-r--r--libreport/src/lib/skip_whitespace.c14
-rw-r--r--libreport/src/lib/spawn.c17
-rw-r--r--libreport/src/lib/stdio_helpers.c17
-rw-r--r--libreport/src/lib/xatonum.c17
-rw-r--r--libreport/src/report-python/__init__.py14
-rw-r--r--libreport/src/report-python/accountmanager.py15
-rw-r--r--libreport/src/report-python/io/GTKIO.py14
-rw-r--r--libreport/src/report-python/io/NewtIO.py14
-rw-r--r--libreport/src/report-python/io/TextIO.py14
-rw-r--r--libreport/src/report-python/io/__init__.py14
23 files changed, 268 insertions, 26 deletions
diff --git a/libreport/libreport.spec b/libreport/libreport.spec
index 9369880..c85ebe1 100644
--- a/libreport/libreport.spec
+++ b/libreport/libreport.spec
@@ -17,7 +17,6 @@ BuildRequires: rpm-devel >= 4.6
BuildRequires: desktop-file-utils
BuildRequires: libnotify-devel
BuildRequires: xmlrpc-c-devel
-#why? BuildRequires: file-devel
BuildRequires: python-devel
BuildRequires: gettext
BuildRequires: libxml2-devel
@@ -77,8 +76,6 @@ Applications for reporting bugs using libreport backend
Summary: Development libraries and headers for libreport
Group: Development/Libraries
Requires: libreport-gtk = %{version}-%{release}
-Provides: report-gtk > 0.20
-Obsoletes: report-gtk <= 0.20
%description gtk-devel
Development libraries and headers for libreport-gtk
@@ -101,11 +98,11 @@ make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
# remove all .la and .a files
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
-mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir}
+mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt
# After everything is installed, remove info dir
-rm -f %{buildroot}%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
%clean
rm -rf $RPM_BUILD_ROOT
@@ -157,6 +154,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libdir}/libreport.so
%{_libdir}/libabrt_dbus.so
%{_libdir}/pkgconfig/libreport.pc
+%dir %{_includedir}/libreport
%files python
%defattr(-,root,root,-)
diff --git a/libreport/src/include/event_config.h b/libreport/src/include/event_config.h
index 8ab9477..cdac408 100644
--- a/libreport/src/include/event_config.h
+++ b/libreport/src/include/event_config.h
@@ -1,5 +1,6 @@
/*
Copyright (C) 2011 ABRT team
+ Copyright (C) 2010 RedHat Inc
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/libreport/src/include/hash_sha1.h b/libreport/src/include/hash_sha1.h
index 850fd21..7299608 100644
--- a/libreport/src/include/hash_sha1.h
+++ b/libreport/src/include/hash_sha1.h
@@ -7,7 +7,19 @@
* Copyright (C) 2003 Glenn L. McGrath
* Copyright (C) 2003 Erik Andersen
*
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* ---------------------------------------------------------------------------
* Issue Date: 10/11/2002
diff --git a/libreport/src/include/libreport.h b/libreport/src/include/libreport.h
index 9721c90..cd8a5cb 100644
--- a/libreport/src/include/libreport.h
+++ b/libreport/src/include/libreport.h
@@ -1,8 +1,22 @@
/*
- * Utility routines.
- *
- * Licensed under GPLv2, see file COPYING in this tarball for details.
- */
+ Copyright (C) 2010 ABRT team
+ Copyright (C) 2010 RedHat Inc
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
#ifndef LIBREPORT_H_
#define LIBREPORT_H_
diff --git a/libreport/src/include/problem_data.h b/libreport/src/include/problem_data.h
index 11a6ec7..f23cb05 100644
--- a/libreport/src/include/problem_data.h
+++ b/libreport/src/include/problem_data.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2009 Abrt team.
+ Copyright (C) 2009 ABRT team.
Copyright (C) 2009 RedHat inc.
This program is free software; you can redistribute it and/or modify
diff --git a/libreport/src/include/report.h b/libreport/src/include/report.h
index 269866b..a5e1fa8 100644
--- a/libreport/src/include/report.h
+++ b/libreport/src/include/report.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2011 Abrt team.
+ Copyright (C) 2011 ABRT team.
Copyright (C) 2011 RedHat inc.
This program is free software; you can redistribute it and/or modify
diff --git a/libreport/src/include/run_event.h b/libreport/src/include/run_event.h
index 9726b64..8e2ad58 100644
--- a/libreport/src/include/run_event.h
+++ b/libreport/src/include/run_event.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2009 Abrt team.
+ Copyright (C) 2009 ABRT team.
Copyright (C) 2009 RedHat inc.
This program is free software; you can redistribute it and/or modify
diff --git a/libreport/src/lib/binhex.c b/libreport/src/lib/binhex.c
index 238fda0..ed6dea0 100644
--- a/libreport/src/lib/binhex.c
+++ b/libreport/src/lib/binhex.c
@@ -1,10 +1,11 @@
/*
- Copyright (C) 2010 ABRT team
- Copyright (C) 2010 RedHat Inc
+ Copyright (C) 2011 ABRT team
+ Copyright (C) 2011 RedHat Inc
This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2
- as published by the Free Software Foundation.
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -15,6 +16,7 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+
#include "libreport.h"
static const char hexdigits_locase[] = "0123456789abcdef";
diff --git a/libreport/src/lib/concat_path_file.c b/libreport/src/lib/concat_path_file.c
index a17739e..d7f199a 100644
--- a/libreport/src/lib/concat_path_file.c
+++ b/libreport/src/lib/concat_path_file.c
@@ -3,7 +3,19 @@
*
* Copyright (C) 2001 Erik Andersen
*
- * Licensed under GPLv2 or later.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/* Concatenate path and filename to new allocated buffer.
diff --git a/libreport/src/lib/encbase64.c b/libreport/src/lib/encbase64.c
index 52e02b7..9ba11e6 100644
--- a/libreport/src/lib/encbase64.c
+++ b/libreport/src/lib/encbase64.c
@@ -1,7 +1,22 @@
/*
* Copyright 2006 Rob Landley <rob@landley.net>
*
- * Licensed under GPLv2 or later.
+ * Copyright (C) 2010 ABRT team
+ * Copyright (C) 2010 RedHat Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "libreport.h" /* xmalloc */
diff --git a/libreport/src/lib/hash_sha1.c b/libreport/src/lib/hash_sha1.c
index fafdae5..ad4ea53 100644
--- a/libreport/src/lib/hash_sha1.c
+++ b/libreport/src/lib/hash_sha1.c
@@ -7,7 +7,22 @@
* Copyright (C) 2003 Glenn L. McGrath
* Copyright (C) 2003 Erik Andersen
*
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Copyright (C) 2010 ABRT team
+ * Copyright (C) 2010 RedHat Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* ---------------------------------------------------------------------------
* Issue Date: 10/11/2002
diff --git a/libreport/src/lib/overlapping_strcpy.c b/libreport/src/lib/overlapping_strcpy.c
index 3301024..824d7bd 100644
--- a/libreport/src/lib/overlapping_strcpy.c
+++ b/libreport/src/lib/overlapping_strcpy.c
@@ -1,8 +1,24 @@
/*
* Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
*
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Copyright (C) 2010 ABRT team
+ * Copyright (C) 2010 RedHat Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+
#include "libreport.h"
/* Like strcpy but can copy overlapping strings. */
diff --git a/libreport/src/lib/read_write.c b/libreport/src/lib/read_write.c
index a3bbb58..86d8a2c 100644
--- a/libreport/src/lib/read_write.c
+++ b/libreport/src/lib/read_write.c
@@ -1,7 +1,22 @@
/*
* Utility routines.
*
- * Licensed under GPLv2 or later, see file COPYING in this tarball for details.
+ * Copyright (C) 2010 ABRT team
+ * Copyright (C) 2010 RedHat Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "libreport.h"
diff --git a/libreport/src/lib/skip_whitespace.c b/libreport/src/lib/skip_whitespace.c
index b2864e6..57ef291 100644
--- a/libreport/src/lib/skip_whitespace.c
+++ b/libreport/src/lib/skip_whitespace.c
@@ -2,7 +2,19 @@
/*
* Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
*
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "libreport.h"
diff --git a/libreport/src/lib/spawn.c b/libreport/src/lib/spawn.c
index 2e09da2..0799730 100644
--- a/libreport/src/lib/spawn.c
+++ b/libreport/src/lib/spawn.c
@@ -1,7 +1,22 @@
/*
* Utility routines.
*
- * Licensed under GPLv2, see file COPYING in this tarball for details.
+ * Copyright (C) 2010 ABRT team
+ * Copyright (C) 2010 RedHat Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "libreport.h"
diff --git a/libreport/src/lib/stdio_helpers.c b/libreport/src/lib/stdio_helpers.c
index 2ce2077..b2b9238 100644
--- a/libreport/src/lib/stdio_helpers.c
+++ b/libreport/src/lib/stdio_helpers.c
@@ -6,7 +6,22 @@
* Copyright (C) 2005, 2006 Rob Landley <rob@landley.net>
* Copyright (C) 2010 ABRT Team
*
- * Licensed under GPLv2 or later, see file LICENSE in this source tree.
+ * Copyright (C) 2010 ABRT team
+ * Copyright (C) 2010 RedHat Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "libreport.h"
diff --git a/libreport/src/lib/xatonum.c b/libreport/src/lib/xatonum.c
index b6b90a9..a6a4ddf 100644
--- a/libreport/src/lib/xatonum.c
+++ b/libreport/src/lib/xatonum.c
@@ -3,7 +3,22 @@
*
* Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
*
- * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ * Copyright (C) 2010 ABRT team
+ * Copyright (C) 2010 RedHat Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "libreport.h"
diff --git a/libreport/src/report-python/__init__.py b/libreport/src/report-python/__init__.py
index 9efd525..796d469 100644
--- a/libreport/src/report-python/__init__.py
+++ b/libreport/src/report-python/__init__.py
@@ -1,3 +1,17 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
from _pyreport import *
diff --git a/libreport/src/report-python/accountmanager.py b/libreport/src/report-python/accountmanager.py
index db8ed11..878be20 100644
--- a/libreport/src/report-python/accountmanager.py
+++ b/libreport/src/report-python/accountmanager.py
@@ -1,3 +1,18 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
"""
Compatibility with report package
"""
diff --git a/libreport/src/report-python/io/GTKIO.py b/libreport/src/report-python/io/GTKIO.py
index 4cc8766..a3b3d43 100644
--- a/libreport/src/report-python/io/GTKIO.py
+++ b/libreport/src/report-python/io/GTKIO.py
@@ -1,3 +1,17 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""
Compatibility with report package
"""
diff --git a/libreport/src/report-python/io/NewtIO.py b/libreport/src/report-python/io/NewtIO.py
index 10eae28..6f9670d 100644
--- a/libreport/src/report-python/io/NewtIO.py
+++ b/libreport/src/report-python/io/NewtIO.py
@@ -1,3 +1,17 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""
Compatibility with report package
"""
diff --git a/libreport/src/report-python/io/TextIO.py b/libreport/src/report-python/io/TextIO.py
index 6162fb8..5d386a6 100644
--- a/libreport/src/report-python/io/TextIO.py
+++ b/libreport/src/report-python/io/TextIO.py
@@ -1,3 +1,17 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
"""
Compatibility with report package
"""
diff --git a/libreport/src/report-python/io/__init__.py b/libreport/src/report-python/io/__init__.py
index 2ae2839..fd16dc9 100644
--- a/libreport/src/report-python/io/__init__.py
+++ b/libreport/src/report-python/io/__init__.py
@@ -1 +1,15 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
pass