Fixes to rpmlint and license related issues 57/11157/2 accepted/tizen_ivi_panda tizen tizen_ivi_panda accepted/tizen/ivi/panda/20140403.014326 submit/tizen_ivi_panda/20140403.012041
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Mon, 21 Oct 2013 14:22:40 +0000 (16:22 +0200)
committerJacek Bukarewicz <j.bukarewicz@samsung.com>
Mon, 28 Oct 2013 15:53:49 +0000 (16:53 +0100)
- 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 <j.bukarewicz@samsung.com>
packaging/lsb.changes
packaging/lsb.spec

index bd9380c..8ac6fd9 100644 (file)
@@ -1,3 +1,6 @@
+* Mon Oct 28 2013 Jacek Bukarewicz <j.bukarewicz@samsung.com> accepted/tizen/20130912.195400@34652e3
+- Fixes to rpmlint and license related issues
+
 * Sun Aug 25 2013 Chengwei Yang <chengwei.yang@intel.com>
 - Remove debian packaging stuff
 
index dc331f9..67a6ca9 100644 (file)
@@ -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