From fd52ea0e71c51cdf25a230691136c6b622aaccdd Mon Sep 17 00:00:00 2001 From: Packit Bot Date: May 04 2021 22:25:37 +0000 Subject: Apply patch 0001-libi2c-Mention-the-correct-license-in-source-files.patch patch_name: 0001-libi2c-Mention-the-correct-license-in-source-files.patch present_in_specfile: true --- diff --git a/include/i2c/smbus.h b/include/i2c/smbus.h index 18a5305..3003ed7 100644 --- a/include/i2c/smbus.h +++ b/include/i2c/smbus.h @@ -1,23 +1,14 @@ /* smbus.h - SMBus level access helper functions - Copyright (C) 1995-97 Simon G. Vogl - Copyright (C) 1998-99 Frodo Looijaard + Copyright (C) 1995-1997 Simon G. Vogl + Copyright (C) 1998-1999 Frodo Looijaard + Copyright (C) 2012-2017 Jean Delvare - 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 + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 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 LIB_I2C_SMBUS_H diff --git a/lib/smbus.c b/lib/smbus.c index 3a2c45a..df5a5ad 100644 --- a/lib/smbus.c +++ b/lib/smbus.c @@ -5,20 +5,10 @@ Copyright (C) 1998-1999 Frodo Looijaard Copyright (C) 2012-2013 Jean Delvare - 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 + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 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