Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-03-08 10:54:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and      /work/SRC/openSUSE:Factory/.upower.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "upower"

Thu Mar  8 10:54:39 2018 rev:57 rq:583099 version:0.99.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/upower/upower.changes    2017-12-08 
12:53:58.365085782 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes       2018-03-08 
10:54:40.907423114 +0100
@@ -1,0 +2,5 @@
+Mon Feb 26 11:36:20 UTC 2018 - [email protected]
+
+- Use SPDX3.0 license tags and package COPYING as %license.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ upower.spec ++++++
--- /var/tmp/diff_new_pack.02kSfj/_old  2018-03-08 10:54:41.783391581 +0100
+++ /var/tmp/diff_new_pack.02kSfj/_new  2018-03-08 10:54:41.783391581 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,14 +18,17 @@
 
 %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d}
 %define systemdutildir %(pkg-config --variable systemdutildir systemd)
-
+%if !0%{?is_opensuse}
+%define         _udevdir %(pkg-config --variable=udevdir udev)
+BuildRequires:  pkgconfig(udev)
+%endif
 Name:           upower
-Summary:        Power Device Enumeration Framework
-License:        GPL-2.0+
-Group:          System/Daemons
 Version:        0.99.7
 Release:        0
-Url:            http://upower.freedesktop.org/
+Summary:        Power Device Enumeration Framework
+License:        GPL-2.0-or-later
+Group:          System/Daemons
+URL:            http://upower.freedesktop.org/
 Source:         
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 [email protected] -- Set the system per default to hibernate, not 
hybridsleep
 Patch0:         upower-hibernate-insteadof-hybridsleep.patch
@@ -33,7 +36,7 @@
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
 BuildRequires:  libtool
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(gio-2.0) >= 2.16.1
 BuildRequires:  pkgconfig(gio-unix-2.0)
@@ -44,13 +47,8 @@
 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
+%{?systemd_requires}
 
 %description
 UPower is an abstraction for enumerating power devices, listening to
@@ -100,6 +98,7 @@
 system) are restricted using PolicyKit.
 
 %lang_package
+
 %prep
 %setup -q
 %patch0 -p1
@@ -113,15 +112,12 @@
 make %{?_smp_mflags}
 
 %install
-%makeinstall
-rm -f %{buildroot}%{_libdir}/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 install -d %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 %find_lang %{name}
 
-%clean
-rm -rf %{buildroot}
-
 %pre
 %service_add_pre upower.service
 
@@ -136,12 +132,11 @@
 %service_del_postun upower.service
 
 %post -n libupower-glib3 -p /sbin/ldconfig
-
 %postun -n libupower-glib3 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING NEWS README
+%license COPYING
+%doc AUTHORS NEWS README
 %config %{_sysconfdir}/UPower/
 %{_bindir}/upower
 %{_sbindir}/rc%{name}
@@ -159,21 +154,18 @@
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
 %{_datadir}/dbus-1/system-services/org.freedesktop.UPower.service
-%doc %{_mandir}/man1/upower.1%{?ext_man}
-%doc %{_mandir}/man7/UPower.7%{?ext_man}
-%doc %{_mandir}/man8/upowerd.8%{?ext_man}
+%{_mandir}/man1/upower.1%{?ext_man}
+%{_mandir}/man7/UPower.7%{?ext_man}
+%{_mandir}/man8/upowerd.8%{?ext_man}
 %dir %{_localstatedir}/lib/upower
 
 %files -n libupower-glib3
-%defattr(-,root,root,-)
 %{_libdir}/libupower-glib.so.*
 
 %files -n typelib-1_0-UpowerGlib-1_0
-%defattr(-,root,root,-)
 %{_libdir}/girepository-1.0/UPowerGlib-1.0.typelib
 
 %files -n libupower-glib-devel
-%defattr(-,root,root,-)
 %doc %{_datadir}/gtk-doc/html/UPower/
 %{_includedir}/libupower-glib/
 %{_libdir}/pkgconfig/upower-glib.pc


Reply via email to