Accepting request 321029 from graphics
Minor change in identifying the udev version, fixes issues like https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:A:DVD/libgphoto2/standard/ppc64le, where sometimes udev-mini is installed in the buildenv (to avoid build cycles) (forwarded request 321028 from dimstar) OBS-URL: https://build.opensuse.org/request/show/321029 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgphoto2?expand=0&rev=101
This commit is contained in:
commit
53ed4241c4
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 7 07:39:31 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Change udev BuildRequires for pkgconfig(udev)
|
||||||
|
- use pkg-config --modversion udev instead of querying the package
|
||||||
|
database. udev is often installed as udev-mini in OBS' build env,
|
||||||
|
which the rpm -q udev call could not find.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 5 21:36:34 UTC 2015 - meissner@suse.com
|
Sun Jul 5 21:36:34 UTC 2015 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190
|
%if %( pkg-config --modversion udev ) > 190
|
||||||
%define _udevrulesdir /usr/lib/udev/rules.d
|
%define _udevrulesdir /usr/lib/udev/rules.d
|
||||||
%else
|
%else
|
||||||
%define _udevrulesdir /lib/udev/rules.d
|
%define _udevrulesdir /lib/udev/rules.d
|
||||||
@ -36,7 +36,7 @@ BuildRequires: libusb-1_0-devel
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: lockdev-devel
|
BuildRequires: lockdev-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: udev
|
BuildRequires: pkgconfig(udev)
|
||||||
%if 0%{?suse_version} > 1230
|
%if 0%{?suse_version} > 1230
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user