Hello community, here is the log from the commit of package upower for openSUSE:Factory checked in at 2017-04-28 09:11:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/upower (Old) and /work/SRC/openSUSE:Factory/.upower.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "upower" Fri Apr 28 09:11:48 2017 rev:54 rq:490218 version:0.99.4 Changes: -------- --- /work/SRC/openSUSE:Factory/upower/upower.changes 2016-10-14 09:27:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes 2017-04-28 09:11:49.718559414 +0200 @@ -1,0 +2,6 @@ +Tue Mar 28 15:09:45 UTC 2017 - [email protected] + +- Own udev directories on SLE, as SLE12 filesystem package + doesn't own them. Require udev-devel in order to set _udevdir. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ upower.spec ++++++ --- /var/tmp/diff_new_pack.Xkvj2v/_old 2017-04-28 09:11:50.454455645 +0200 +++ /var/tmp/diff_new_pack.Xkvj2v/_new 2017-04-28 09:11:50.458455081 +0200 @@ -1,7 +1,7 @@ # # spec file for package upower # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -46,6 +46,10 @@ BuildRequires: pkgconfig(libplist) >= 0.12 BuildRequires: pkgconfig(libusb-1.0) >= 1.0.0 BuildRequires: pkgconfig(systemd) +%if !0%{?is_opensuse} +BuildRequires: pkgconfig(udev) +%define _udevdir %(pkg-config --variable=udevdir udev) +%endif %{?systemd_requires} Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -146,6 +150,10 @@ %{_sbindir}/rc%{name} %dir %{_libexecdir}/upower %{_libexecdir}/upower/upowerd +%if !0%{?is_opensuse} +%dir %{_udevdir} +%dir %{_udevrulesdir} +%endif %{_udevrulesdir}/*.rules %{_unitdir}/upower.service %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
