fix: issue#I5LI5A

(cherry picked from commit bf1241a73027dd324811f9fc0ab25ed3b4cbad34)
This commit is contained in:
loong_C 2022-08-10 10:00:23 +08:00 committed by openeuler-sync-bot
parent 29546d3d36
commit ad86677ae9

View File

@ -1,6 +1,6 @@
%define specrelease 1%{?dist} %define specrelease 1%{?dist}
%if 0%{?openeuler} %if 0%{?openeuler}
%define specrelease 3 %define specrelease 4
%endif %endif
Name: dde-control-center Name: dde-control-center
@ -69,12 +69,12 @@ sed -i -E '/add_compile_definitions/d' CMakeLists.txt
%make_build %make_build
%post %post
create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt #create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt
%postun %postun
if [ "$1" = "0" ] ; then #if [ "$1" = "0" ] ; then
create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt # create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt
fi #fi
%install %install
%make_install INSTALL_ROOT=%{buildroot} %make_install INSTALL_ROOT=%{buildroot}
@ -109,6 +109,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
%{_libdir}/cmake/DdeControlCenter/ %{_libdir}/cmake/DdeControlCenter/
%changelog %changelog
* Wed Aug 10 2022 liweiganga <liweiganga@uniontech.com> - 5.4.43.27-4
- fix: issue#I5LI5A
* Fri Aug 05 2022 liweiganga <liweiganga@uniontech.com> - 5.4.43.27-3 * Fri Aug 05 2022 liweiganga <liweiganga@uniontech.com> - 5.4.43.27-3
- hide authorized - hide authorized
@ -127,7 +130,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
* Fri Sep 4 2020 chenbo pan <panchenbo@uniontech.com> 5.1.0.19-3 * Fri Sep 4 2020 chenbo pan <panchenbo@uniontech.com> 5.1.0.19-3
- fix compile fail - fix compile fail
* Fri Jul 3 2020 uniontech <uoser@uniontech.com> - 5.1.0.19-2 * Fri Jul 03 2020 uniontech <uoser@uniontech.com> - 5.1.0.19-2
- Add dde.sh to profile.d - Add dde.sh to profile.d
* Mon Jun 15 2020 uniontech <uoser@uniontech.com> - 5.1.0.19 * Mon Jun 15 2020 uniontech <uoser@uniontech.com> - 5.1.0.19