From 381ed3ddb086416b106171c3ef346943b336d46c Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Apr 14 2014 16:26:04 +0000 Subject: License: Grant permission to link with librtas library Signed-off-by: Vasant Hegde --- diff --git a/servicelog-1.1.12-fix-license-issue.patch b/servicelog-1.1.12-fix-license-issue.patch new file mode 100644 index 0000000..da46e94 --- /dev/null +++ b/servicelog-1.1.12-fix-license-issue.patch @@ -0,0 +1,31 @@ +From 2010e6f69db3e5ab97dc79c46f815d3d4a059816 Mon Sep 17 00:00:00 2001 +From: Vasant Hegde +Date: Wed, 9 Apr 2014 11:02:27 +0530 +Subject: [PATCH] License: Grant permission to link with librtas library + +Reported-by: Paul E. McKenney +Signed-off-by: Vasant Hegde +Reviewed-by: Nathan Fontenot +--- + COPYING | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/COPYING b/COPYING +index 08ddefd..1d4adb7 100644 +--- a/COPYING ++++ b/COPYING +@@ -1,3 +1,11 @@ ++Special Exception: ++ As a special exception, IBM gives permission to link the code ++of portions of this program against the librtas library, and ++distribute linked combinations including the two. You must obey ++the GNU General Public License in all respects for all of the ++code used other than librtas. ++ ++ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + +-- +1.8.3.1 + diff --git a/servicelog.spec b/servicelog.spec index be51098..0695467 100644 --- a/servicelog.spec +++ b/servicelog.spec @@ -1,6 +1,6 @@ Name: servicelog Version: 1.1.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Servicelog Tools Group: System Environment/Base @@ -17,6 +17,9 @@ BuildRequires: autoconf libtool librtas-devel help2man # because of librtas-devel in libservicelog ExclusiveArch: ppc ppc64 ppc64le +# Grant permission to link with librtas library +Patch0: servicelog-1.1.12-fix-license-issue.patch + %description Command-line interfaces for viewing and manipulating the contents of the servicelog database. Contains entries that are useful @@ -25,6 +28,7 @@ of service operations that have been performed on the system. %prep %setup -q +%patch0 -p1 -b .fix-license-issue %build autoreconf -fiv @@ -53,6 +57,9 @@ help2man -s 8 -N $RPM_BUILD_ROOT/%{_sbindir}/slog_common_event > $RPM_BUILD_ROOT %{_mandir}/man[18]/*.[18]* %changelog +* Mon Apr 14 2014 Vasant Hegde - 1.1.12-2 +- Grant permission to link with librtas library + * Fri Mar 07 2014 Vasant Hegde - 1.1.12 - Update to latest upstream 1.1.12