Remove donation url from libKF5XmlGui

master
Artem Proskurnev 2 years ago
parent cdd53d0ecf
commit 2d25f05339
  1. 7
      mos-panel-desktop.spec
  2. 20
      mos-panel-desktop/libKF5XmlGui.filetrigger

@ -1,5 +1,5 @@
Name: mos-panel-desktop Name: mos-panel-desktop
Version: 1.5 Version: 1.6
Release: alt1 Release: alt1
Summary: M OS default desktop settings Summary: M OS default desktop settings
@ -66,6 +66,7 @@ install -pm755 brandicons.filetrigger %buildroot%ftdir
install -pm755 previewplugins.filetrigger %buildroot%ftdir install -pm755 previewplugins.filetrigger %buildroot%ftdir
install -pm755 PlasmaFavorites.filetrigger %buildroot%ftdir install -pm755 PlasmaFavorites.filetrigger %buildroot%ftdir
install -pm755 desktopbigicon.filetrigger %buildroot%ftdir install -pm755 desktopbigicon.filetrigger %buildroot%ftdir
install -pm755 libKF5XmlGui.filetrigger %buildroot%ftdir
install -pm755 10-chromium-default-incognito.sh %buildroot%_sysconfdir/profile.d install -pm755 10-chromium-default-incognito.sh %buildroot%_sysconfdir/profile.d
%files %files
@ -88,9 +89,13 @@ install -pm755 10-chromium-default-incognito.sh %buildroot%_sysconfdir/profile.d
"/usr/lib/rpm/previewplugins.filetrigger" "/usr/lib/rpm/previewplugins.filetrigger"
"/usr/lib/rpm/PlasmaFavorites.filetrigger" "/usr/lib/rpm/PlasmaFavorites.filetrigger"
"/usr/lib/rpm/desktopbigicon.filetrigger" "/usr/lib/rpm/desktopbigicon.filetrigger"
"/usr/lib/rpm/libKF5XmlGui.filetrigger"
"/etc/profile.d/10-chromium-default-incognito.sh" "/etc/profile.d/10-chromium-default-incognito.sh"
%changelog %changelog
* Wed Aug 31 2022 Artem Proskurnev <tema@altlinux.org> 1.6-alt1
- Remove donation url from libKF5XmlGui
* Tue Aug 30 2022 Artem Proskurnev <tema@altlinux.org> 1.5-alt1 * Tue Aug 30 2022 Artem Proskurnev <tema@altlinux.org> 1.5-alt1
- Remove repo - Remove repo

@ -0,0 +1,20 @@
#!/bin/sh
#
# RPM filetrigger for remove donation url from hardcode.
# Links to donations remain in the documentation.
#
# Copyright (C) 2021 Artem Proskurnev <tema@proskurnevs.ru>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
mf='/usr/lib64/libKF5XmlGui.so.5.96.0'
if egrep -qs $mf;
then
if [ -f $mf ];
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'
fi
fi
Loading…
Cancel
Save