summaryrefslogtreecommitdiffstats
path: root/redhat/extras/brp-check-trinity/brp-check-trinity.spec
diff options
context:
space:
mode:
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