2013-01-09 18:20:45 +00:00
committed by Git OBS Bridge
parent c280129869
commit 70d785b70c
2 changed files with 5 additions and 4 deletions

View File

@@ -23,10 +23,10 @@ BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: readline-devel
%if %suse_version >= 1120
#shouldn't be found automagically ?
BuildRequires: libudev-devel
%endif
%if %suse_version == 1110
%if %suse_version <= 1110
# libusb is an inferior method of USB enumeration, as it introduces polling
BuildRequires: libusb-1_0-devel
%endif
%if %suse_version > 1140
@@ -139,7 +139,7 @@ cp -a %{S:1} %{S:2} %{S:5} %{S:6} .
--docdir=%{_docdir}/%{name} \
--enable-usbdropdir=%{ifddir} \
--disable-libhal \
%if %suse_version == 1110
%if %suse_version <= 1110
--disable-libudev \
%endif
%if %suse_version > 1140