Fix rpmlint errors and warning in :
- using spdx license naming convention
- using %license and %config macros
Change-Id: Idafcb4c3693326e97552d1415072b3cb10e10fa1
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Version: 0.0.1
Release: 0
Group: Automotive/Configuration
Version: 0.0.1
Release: 0
Group: Automotive/Configuration
-License: Apache License, Version 2.0
BuildArch: noarch
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Source0: %{name}-%{version}.tar.gz
mkdir -p %{buildroot}/etc/config
cp -f model-config.xml %{buildroot}/etc/config/model-config.xml
mkdir -p %{buildroot}/etc/config
cp -f model-config.xml %{buildroot}/etc/config/model-config.xml
-mkdir -p %{buildroot}/usr/share/license
-cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
-/usr/share/license/%{name}
-/etc/config/model-config.xml
%manifest model-config.manifest
%manifest model-config.manifest
+%license LICENSE.APLv2
+%config /etc/config/model-config.xml