diff --git a/oedp-1.0.0.tar.gz b/oedp-1.0.0.tar.gz deleted file mode 100644 index e0de84428f1cf2f913fca5193c06134717288668..0000000000000000000000000000000000000000 Binary files a/oedp-1.0.0.tar.gz and /dev/null differ diff --git a/oedp-1.0.1.tar.gz b/oedp-1.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..97f749ed0fa9c8e662eefde2b2ac47d82eec7130 Binary files /dev/null and b/oedp-1.0.1.tar.gz differ diff --git a/oedp.spec b/oedp.spec index 4602fe9daca6c5733b5490b56ed12c67b5fd57c0..0f26a9e2b33e3f48cc611b0ecf46f2ac628a0191 100644 --- a/oedp.spec +++ b/oedp.spec @@ -1,7 +1,7 @@ %define _python_bytecompile_errors_terminate_build 0 Name: oedp -Version: 1.0.0 -Release: 2 +Version: 1.0.1 +Release: 1 Summary: openEuler deploy tool License: MulanPSL-2.0 Source0: %{name}-%{version}.tar.gz @@ -37,9 +37,11 @@ install -c -m 0500 %{_builddir}/%{name}-%{version}/oedp.py %{buildroot}%{_bindir %postun -# 删除可能会残留的目录 -rm -rf /var/oedp -rm -rf /usr/lib/oedp +if [ $1 -eq 0 ]; then + # 卸载时删除可能会残留的目录 + rm -rf /var/oedp + rm -rf /usr/lib/oedp +fi %files @@ -53,11 +55,18 @@ rm -rf /usr/lib/oedp %attr(0600,root,root) %ghost %{_var}/oedp/log/oedp.log %attr(0500,root,root) %{_usr}/lib/oedp/src/* -%attr(0600,root,root) %config %{_sysconfdir}/oedp/config/log.conf +%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/oedp/config/log.conf %attr(0755,root,root) %{_usr}/share/applications/* %attr(0500,root,root) %{_bindir}/oedp + %changelog +* Wed Mar 12 2025 Liu Jiangbin - 1.0.1-1 +- Updated icon click effects on DevStation. +- Added upgrade support for the oedp package. +- Fixed exceptions caused by missing 'tasks' field. +- Fixed other known issues. + * Mon Mar 3 2025 Liu Jiangbin - 1.0.0-2 - fix the issue of abnormal termination during the script execution phase after installation