diff options
Diffstat (limited to 'redhat/extras/brp-check-trinity/brp-check-trinity.spec')
-rw-r--r-- | redhat/extras/brp-check-trinity/brp-check-trinity.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/extras/brp-check-trinity/brp-check-trinity.spec b/redhat/extras/brp-check-trinity/brp-check-trinity.spec index 325f1aef4..cca9786f1 100644 --- a/redhat/extras/brp-check-trinity/brp-check-trinity.spec +++ b/redhat/extras/brp-check-trinity/brp-check-trinity.spec @@ -43,10 +43,14 @@ BuildArch: noarch BuildRequires: update-desktop-files BuildRequires: brp-check-suse +%if 0%{?suse_version} <= 1500 BuildRequires: brp-extract-appdata +%endif Requires: update-desktop-files Requires: brp-check-suse +%if 0%{?suse_version} <= 1500 Requires: brp-extract-appdata +%endif Requires: sed @@ -82,7 +86,7 @@ for i in \ -e "s|applications/kde|applications/tde|g" \ -e "s|KDE|TDE|g" \ -e "s|kde-|tde-|g" \ -%if 0%{?suse_version} == 1550 +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400 -e "s|/usr/share/applications|/opt/trinity/share/applications|g" \ -e "/^for i in/ s|\\\| /\$RPM_BUILD_ROOT/opt/trinity/share/applnk \\\|" \ %endif |