From 3c9611c796f891e5caa6d99977256d223d82e1cd540a883895d0560227258be6 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 26 Nov 2010 08:30:25 +0000 Subject: [PATCH] - don't install udev rule for 11.4, as it's provided in alsa-utils now OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=68 --- alsa.changes | 6 ++++++ alsa.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/alsa.changes b/alsa.changes index 03ec432..563d80f 100644 --- a/alsa.changes +++ b/alsa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 26 09:29:58 CET 2010 - tiwai@suse.de + +- don't install udev rule for 11.4, as it's provided in alsa-utils + now + ------------------------------------------------------------------- Wed Nov 24 06:24:00 CET 2010 - tiwai@suse.de diff --git a/alsa.spec b/alsa.spec index 8dba9ee..a3f0fe8 100644 --- a/alsa.spec +++ b/alsa.spec @@ -255,8 +255,10 @@ ln -s ../../etc/init.d/joystick $RPM_BUILD_ROOT%{_sbindir}/rcjoystick # # udev rules (only for non-systemd) # +%if %suse_version < 1140 mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d install -c -m 0644 %{SOURCE8} $RPM_BUILD_ROOT/etc/udev/rules.d +%endif # # install template to update rc.config and sysconfig files: # (updating the actual files is done in the %post-script) @@ -307,7 +309,9 @@ exit 0 /usr/lib/all_notes_off.* %{_datadir}/sounds/alsa /var/adm/fillup-templates/* +%if %suse_version < 1140 /etc/udev +%endif %files devel %defattr(-, root, root)