License compliance rectification

This commit is contained in:
chenyx2012 2022-08-08 07:54:06 +00:00 committed by Gitee
parent d09032d960
commit 9527d6dff5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,11 +3,7 @@ Summary: System information like kernelversion, openeulerversion, gccvers
License: GPL-1.0-or-later License: GPL-1.0-or-later
Group: System/Config Group: System/Config
Version: 1.0 Version: 1.0
%ifarch aarch64 Release: 1
Release: %(date +%s -d "$(grep "compiletime" %{_sourcedir}/isopackage_arm64.sdf | cut -d '=' -f2 | sed 's/-/ /3' | sed 's/-/:/3' | sed 's/-/:/3')")%(grep "openeulerversion" %{_sourcedir}/isopackage_arm64.sdf | cut -d '-' -f2)
%else
Release: %(date +%s -d "$(grep "compiletime" %{_sourcedir}/isopackage.sdf | cut -d '=' -f2 | sed 's/-/ /3' | sed 's/-/:/3' | sed 's/-/:/3')")%(grep "openeulerversion" %{_sourcedir}/isopackage.sdf | cut -d '-' -f2)
%endif
Source1: isopackage.sdf Source1: isopackage.sdf
Source2: isopackage_arm64.sdf Source2: isopackage_arm64.sdf
BuildRoot: %{_tmppath}/%{name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}
@ -55,5 +51,5 @@ rm -rf %{_tmppath}/%{name}-%{version}
rm -rf $RPM_BUILD_DIR/%{name}-%{version} rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%changelog %changelog
* Thu Jul 28 2022 Chenyx <chenyixiong3@huawei.com> - 1.0 * Thu Jul 28 2022 Chenyx <chenyixiong3@huawei.com> - 1.0-1
- License compliance rectification - License compliance rectification