!23 [sync] PR-22: fix issue

From: @openeuler-sync-bot 
Reviewed-by: @yeqinglong01 
Signed-off-by: @yeqinglong01
This commit is contained in:
openeuler-ci-bot 2022-08-10 02:37:12 +00:00 committed by Gitee
commit bbbb508d02
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
%define specrelease 1%{?dist}
%if 0%{?openeuler}
%define specrelease 3
%define specrelease 4
%endif
Name: dde-control-center
@ -69,12 +69,12 @@ sed -i -E '/add_compile_definitions/d' CMakeLists.txt
%make_build
%post
create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt
#create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt
%postun
if [ "$1" = "0" ] ; then
create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt
fi
#if [ "$1" = "0" ] ; then
# create-cracklib-dict /usr/share/dict/MainEnglishDictionary_ProbWL.txt
#fi
%install
%make_install INSTALL_ROOT=%{buildroot}
@ -109,6 +109,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
%{_libdir}/cmake/DdeControlCenter/
%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
- 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
- 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
* Mon Jun 15 2020 uniontech <uoser@uniontech.com> - 5.1.0.19