From 9ebc2a72f93cbeddc238aa66d4c0b87c5448866b Mon Sep 17 00:00:00 2001 From: Jacek Bukarewicz Date: Mon, 21 Oct 2013 16:22:40 +0200 Subject: [PATCH] Fixes to rpmlint and license related issues - Use %license macro to package license file - License of this package is actually BSD-3-clause not GPLv2 - Package does not contain any binaries so it can be made noarch - Changed package group to the one that exists Change-Id: I303f321e81c051bbe433a67ded95663983e8032c Signed-off-by: Jacek Bukarewicz --- packaging/lsb.changes | 3 +++ packaging/lsb.spec | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packaging/lsb.changes b/packaging/lsb.changes index bd9380c..8ac6fd9 100644 --- a/packaging/lsb.changes +++ b/packaging/lsb.changes @@ -1,3 +1,6 @@ +* Mon Oct 28 2013 Jacek Bukarewicz accepted/tizen/20130912.195400@34652e3 +- Fixes to rpmlint and license related issues + * Sun Aug 25 2013 Chengwei Yang - Remove debian packaging stuff diff --git a/packaging/lsb.spec b/packaging/lsb.spec index dc331f9..67a6ca9 100644 --- a/packaging/lsb.spec +++ b/packaging/lsb.spec @@ -4,8 +4,9 @@ Name: lsb Summary: LSB support for SLP Version: 3.2 Release: 3 -Group: System/Base -License: GPLv2 +Group: Base/Utilities +BuildArch: noarch +License: BSD-3-Clause Source0: %{name}-%{version}.tar.gz Source1001: %{name}.manifest Source1002: %{name} @@ -19,17 +20,15 @@ Linux Standard Base 3.2 %build cp %{SOURCE1001} . +cp %{SOURCE1002} . %install rm -rf %{buildroot} install -d %{buildroot}/lib/lsb cp -p init-functions %{buildroot}/lib/lsb -mkdir -p $RPM_BUILD_ROOT%{_datadir}/license -cp %{SOURCE1002} $RPM_BUILD_ROOT%{_datadir}/license - %files %manifest %{name}.manifest %defattr(-,root,root,-) -%{_datadir}/license/%{name} +%license lsb /lib/lsb/init-functions -- 2.7.4