Do not hardcode minor version, fix deps

master
Mikhail Novosyolov 2 years ago
parent 2d25f05339
commit 56662c94c3
  1. 8
      mos-panel-desktop.spec
  2. 4
      mos-panel-desktop/libKF5XmlGui.filetrigger

@ -1,6 +1,6 @@
Name: mos-panel-desktop Name: mos-panel-desktop
Version: 1.6 Version: 1.6
Release: alt1 Release: alt2
Summary: M OS default desktop settings Summary: M OS default desktop settings
Summary(ru_RU.UTF-8): Начальные настройки пользователя М ОС Summary(ru_RU.UTF-8): Начальные настройки пользователя М ОС
@ -11,6 +11,8 @@ Url: http://osmesh.ru
BuildArch: noarch BuildArch: noarch
Requires: xmlstarlet Requires: xmlstarlet
Requires: /usr/bin/xml_grep Requires: /usr/bin/xml_grep
Requires: grep
Requires: sed
Source: %name-%version.tar Source: %name-%version.tar
# we have a symlink to r7-office-desktopeditors.desktop # we have a symlink to r7-office-desktopeditors.desktop
# but do not require it to be installed # but do not require it to be installed
@ -93,6 +95,10 @@ install -pm755 10-chromium-default-incognito.sh %buildroot%_sysconfdir/profile.d
"/etc/profile.d/10-chromium-default-incognito.sh" "/etc/profile.d/10-chromium-default-incognito.sh"
%changelog %changelog
* Thu Sep 22 2022 Mikhail Novosyolov <mikhailnov@altlinux.org> 1.6-alt2
- Do not hardcode minor version in filetrigger
- Req sed and grep for filetrigger
* Wed Aug 31 2022 Artem Proskurnev <tema@altlinux.org> 1.6-alt1 * Wed Aug 31 2022 Artem Proskurnev <tema@altlinux.org> 1.6-alt1
- Remove donation url from libKF5XmlGui - Remove donation url from libKF5XmlGui

@ -10,11 +10,11 @@
# the Free Software Foundation; either version 2 of the License, or # the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. # (at your option) any later version.
mf='/usr/lib64/libKF5XmlGui.so.5.96.0' mf='/usr/lib64/libKF5XmlGui.so.5'
if egrep -qs $mf; if egrep -qs $mf;
then then
if [ -f $mf ]; if [ -f $mf ];
then then
sed -i /usr/lib64/libKF5XmlGui.so.5.96.0 -e 's,https://www.kde.org/donate?app=,https://os.mos.ru/r/blago?appl=,g' sed -i $mf -e 's,https://www.kde.org/donate?app=,https://os.mos.ru/r/blago?appl=,g'
fi fi
fi fi

Loading…
Cancel
Save