代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/openEuler-latest-release 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: openEuler-latest-release
Summary: System information like kernelversion, openeulerversion, gccversion, openjdkversion and compile time
License: GPL-1.0-or-later
Group: System/Config
Version: 1.0
Release: 1
Source1: isopackage.sdf
Source2: isopackage_arm64.sdf
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildRequires: gcc kernel-devel java-1.8.0-openjdk
%description
The rpm contains system information, like kernelversion, eulerversion and compile time so on.
%setup -q
%install
mkdir -p %{buildroot}/etc
%ifarch aarch64
install %{_sourcedir}/isopackage_arm64.sdf %{buildroot}/etc/openEuler-latest
%else
install %{_sourcedir}/isopackage.sdf %{buildroot}/etc/openEuler-latest
%endif
%pre
%post
if [[ `grep "openeulerversion" /etc/openEuler-latest | cut -d '_' -f2` =~ 2\.2\.RC.* ]]; then
if [ $1 = 1 ]; then
if [ -e /etc/openEulerLinux.conf ];then
mv /etc/openEulerLinux.conf /etc/.openEulerLinux.conf
fi
else
rm -f /etc/.openEulerLinux.conf
fi
fi
%preun
%postun
if [ -e /etc/.openEulerLinux.conf ]; then
mv /etc/.openEulerLinux.conf /etc/openEulerLinux.conf
fi
%files
%config /etc/openEuler-latest
%attr(0444, root, root) /etc/openEuler-latest
%clean
rm -rf $RPM_BUILD_ROOT/*
rm -rf %{_tmppath}/%{name}-%{version}
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%changelog
* Thu Jul 28 2022 Chenyx <chenyixiong3@huawei.com> - 1.0-1
- License compliance rectification
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。