From 430c48787e46116f09139ae549ffe8e60ba1f89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 22 Dec 2014 10:26:41 +0100 Subject: RPM packaging: updates --- redhat/main/tdebase/tdebase-14.0.0.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'redhat/main/tdebase/tdebase-14.0.0.spec') diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec index a7a8b3579..94a8e9fd5 100644 --- a/redhat/main/tdebase/tdebase-14.0.0.spec +++ b/redhat/main/tdebase/tdebase-14.0.0.spec @@ -3644,10 +3644,11 @@ EOF %endif # Symlinks 'usb.ids' (Use system-provided version, not TDE provided version) +%if 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320 || 0%{?mgaversion} >= 4 %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%if 0%{?suse_version} || 0%{?mgaversion} >= 4 %__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" %else +%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" %__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" %endif -- cgit v1.2.1