From: Jacek Bukarewicz Date: Mon, 21 Oct 2013 14:22:40 +0000 (+0200) Subject: Fixes to rpmlint and license related issues X-Git-Tag: accepted/tizen/ivi/panda/20140403.014326^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flsb.git;a=commitdiff_plain 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 --- 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