summaryrefslogtreecommitdiffstats
path: root/redhat/extras/brp-check-trinity/brp-check-trinity.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-02-07 14:37:22 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-02-07 14:37:22 +0100
commit4daa7e6206722f2d6dfaab5a996b31ff823e1a3d (patch)
tree03cb47e01bf35950acba4d9e23fbc2a05b1ebd8b /redhat/extras/brp-check-trinity/brp-check-trinity.spec
parentd78d4adcc5cac3e3a9ed775123b83b6ee6f0cac5 (diff)
downloadtde-packaging-4daa7e6206722f2d6dfaab5a996b31ff823e1a3d.tar.gz
tde-packaging-4daa7e6206722f2d6dfaab5a996b31ff823e1a3d.zip
RPM: update metapackages
Diffstat (limited to 'redhat/extras/brp-check-trinity/brp-check-trinity.spec')
-rw-r--r--redhat/extras/brp-check-trinity/brp-check-trinity.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/extras/brp-check-trinity/brp-check-trinity.spec b/redhat/extras/brp-check-trinity/brp-check-trinity.spec
index afb764de3..de83a2194 100644
--- a/redhat/extras/brp-check-trinity/brp-check-trinity.spec
+++ b/redhat/extras/brp-check-trinity/brp-check-trinity.spec
@@ -25,7 +25,7 @@ Name: brp-check-trinity
Version: 1.0
Release: 1%{?dist}
Summary: Build root policy check scripts for Trinity
-Group: System Environment/Daemons
+Group: System Environment/Daemons
URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
@@ -82,7 +82,11 @@ for i in \
-e "s|applications/kde|applications/tde|g" \
-e "s|KDE|TDE|g" \
-e "s|kde-|tde-|g" \
- -e "s|tde-settings.menu|kde-settings.menu|"
+%if 0%{?suse_version} == 1550
+ -e "s|/usr/share/applications|/opt/trinity/share/applications|g" \
+ -e "/^for i in/ s|\\\| /\$RPM_BUILD_ROOT/opt/trinity/share/applnk \\\|" \
+%endif
+ -e "s|tde-settings.menu|kde-settings.menu|g"
done