update version to 2021.06.30

(cherry picked from commit 5285ba50f2a66a7d4c14f03913b91abcf5d63799)
This commit is contained in:
loong_C 2022-07-19 13:20:03 +08:00 committed by openeuler-sync-bot
parent 33666e7c8c
commit 61e35bb06e
4 changed files with 86 additions and 230 deletions

13
dde
View File

@ -1,13 +0,0 @@
/var/log/dde.log
{
maxage 365
rotate 10
notifempty
copytruncate
missingok
size +10240k
sharedscripts
postrotate
/usr/bin/systemctl kill -s HUP rsyslog.service >/dev/null 2>&1 || true
endscript
}

BIN
dde-2021.06.30.tar.gz Normal file

Binary file not shown.

136
dde.conf
View File

@ -1,136 +0,0 @@
$FileCreateMode 0600
$outchannel dde, /var/log/dde.log
if ($programname contains 'dde') then {
:omfile:$dde
stop
}
if ($programname contains 'deepin') then {
:omfile:$dde
stop
}
if ($programname contains 'kwin_x11') then {
:omfile:$dde
stop
}
if ($programname contains 'kglobalaccel5') then {
:omfile:$dde
stop
}
if ($programname contains 'mime') then {
:omfile:$dde
stop
}
if ($programname contains 'appearance') then {
:omfile:$dde
stop
}
if ($programname contains 'pulseaudio') then {
:omfile:$dde
stop
}
if ($msg contains 'loader.go') then {
:omfile:$dde
stop
}
if ($msg contains 'manager.go') then {
:omfile:$dde
stop
}
if ($msg contains 'config_data.go') then {
:omfile:$dde
stop
}
if ($msg contains 'deepin') then {
:omfile:$dde
stop
}
if ($msg contains 'dock_manager_entries.go') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/bluetooth') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/appearance') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/systeminfo') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/audio') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/dock') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/apps') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/launcher') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/calendar') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/network') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/accounts') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/screensaver') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/image_effect') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/system/power') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/session/power') then {
:omfile:$dde
stop
}
if ($syslogtag startswith 'daemon/dde-session-daemon') then {
:omfile:$dde
stop
}

View File

@ -1,13 +1,12 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: dde Name: dde
Version: 2020.11.03 Version: 2021.06.30
Release: 4 Release: 1
Summary: Deepin New Desktop Environment - Next Summary: Deepin New Desktop Environment - Next
License: GPLv3 License: GPLv3
URL: https://uos-packages.deepin.com/uos/pool/main/d/dde/ URL: https://uos-packages.deepin.com/uos/pool/main/d/dde/
Source0: dde.conf Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Source1: dde
BuildRequires: shadow BuildRequires: shadow
Requires: systemd-pam Requires: systemd-pam
@ -125,16 +124,19 @@ Recommends: langpacks-zh_CN
Recommends: fcitx fcitx-qt5 fcitx-pinyin fcitx-sunpinyin fcitx-configtool fcitx-table-chinese Recommends: fcitx fcitx-qt5 fcitx-pinyin fcitx-sunpinyin fcitx-configtool fcitx-table-chinese
%description %description
Deepin New Desktop Environment - Next. Deepin New Desktop Environment.
%prep %prep
%setup -q -n %{name}-%{version}
%build %build
echo "build"
%install %install
mkdir -p %{buildroot}/etc/{rsyslog.d,logrotate.d} mkdir -p %{buildroot}/etc/{rsyslog.d,logrotate.d}
install -Dm644 %{SOURCE0} %{buildroot}/etc/rsyslog.d/dde.conf
install -Dm644 %{SOURCE1} %{buildroot}/etc/logrotate.d/dde install -Dm644 rpm/dde.conf %{buildroot}/etc/rsyslog.d/dde.conf
install -Dm644 rpm/dde %{buildroot}/etc/logrotate.d/dde
%pre %pre
getent group openeuler >/dev/null || groupadd -r openeuler getent group openeuler >/dev/null || groupadd -r openeuler
@ -147,6 +149,9 @@ openeuler" | passwd openeuler > /dev/null 2>&1
%{_sysconfdir}/logrotate.d/dde %{_sysconfdir}/logrotate.d/dde
%changelog %changelog
* Tue Jul 19 2022 loong_C <loong_c@yeah.net> - 2021.06.30-1
- update to 2021.06.30
* Thu Feb 24 2022 liweigang <liweiganga@uniontech.com> - 2020.11.03-4 * Thu Feb 24 2022 liweigang <liweiganga@uniontech.com> - 2020.11.03-4
- add install require - add install require