Hello community,

here is the log from the commit of package libgphoto2 for openSUSE:Factory 
checked in at 2015-08-21 07:37:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgphoto2 (Old)
 and      /work/SRC/openSUSE:Factory/.libgphoto2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgphoto2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgphoto2/libgphoto2.changes    2015-07-16 
17:18:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libgphoto2.new/libgphoto2.changes       
2015-08-21 07:37:47.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Aug  7 07:39:31 UTC 2015 - dims...@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.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgphoto2.spec ++++++
--- /var/tmp/diff_new_pack.Op1z8U/_old  2015-08-21 07:37:48.000000000 +0200
+++ /var/tmp/diff_new_pack.Op1z8U/_new  2015-08-21 07:37:48.000000000 +0200
@@ -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
 %else
 %define _udevrulesdir /lib/udev/rules.d
@@ -36,7 +36,7 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  lockdev-devel
 BuildRequires:  pkg-config
-BuildRequires:  udev
+BuildRequires:  pkgconfig(udev)
 %if 0%{?suse_version} > 1230
 BuildRequires:  systemd-rpm-macros
 %endif




Reply via email to