Accepting request 287329 from home:msmeissn:branches:multimedia:color_management

- allow building with udev-mini by using pkgconfig(udev)

- do not rpm -q udev

OBS-URL: https://build.opensuse.org/request/show/287329
OBS-URL: https://build.opensuse.org/package/show/multimedia:color_management/argyllcms?expand=0&rev=28
This commit is contained in:
Klaus Kämpf 2015-02-24 06:51:56 +00:00 committed by Git OBS Bridge
parent 897b2673fd
commit 67a37d4f4a
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Feb 23 13:55:20 UTC 2015 - meissner@suse.com
- allow building with udev-mini by using pkgconfig(udev)
-------------------------------------------------------------------
Mon Feb 23 13:48:38 UTC 2015 - meissner@suse.com
- do not rpm -q udev
-------------------------------------------------------------------
Wed Feb 4 10:23:32 UTC 2015 - fcrozat@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package argyllcms
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,7 @@
#
%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190
%define _udevrulesdir /usr/lib/udev/rules.d
%else
%define _udevrulesdir /lib/udev/rules.d
%endif
%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
%define archivename Argyll_V%{version}%{?alphaversion}_src.zip
@ -58,7 +54,7 @@ BuildRequires: xorg-x11-devel
BuildRequires: bison
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: udev
BuildRequires: pkgconfig(udev)
Requires: udev
%if 0%{?suse_version} < 1120
BuildRequires: hal