--- /dev/null
+--- upower-0.99.8/src/upower.service.in~ 2018-04-16 10:04:48.000000000 +0200
++++ upower-0.99.8/src/upower.service.in 2018-08-10 08:24:47.751371582 +0200
+@@ -16,9 +16,6 @@ ReadWritePaths=@historydir@
+ ProtectHome=true
+ PrivateTmp=true
+
+-# Network
+-PrivateNetwork=true
+-
+ # Execute Mappings
+ MemoryDenyWriteExecute=true
+
Summary(pl.UTF-8): Usługa zarządzania energią
Name: upower
Version: 0.99.8
-Release: 1
+Release: 2
License: GPL v2+
Group: Libraries
# Source0: https://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
Source0: https://gitlab.freedesktop.org/upower/upower/uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/%{name}-%{version}.tar.xz
# Source0-md5: eeb56bd91d2fb8a64c81eff6d899926b
+# https://gitlab.freedesktop.org/upower/upower/issues/68
+Patch0: upower-bug-68.patch
URL: https://upower.freedesktop.org/
BuildRequires: autoconf >= 2.65
BuildRequires: automake >= 1:1.11
%prep
%setup -q
+%patch0 -p1
%build
%{__gtkdocize}