[blueman] Create and own /var/lib/blueman (#818528)

Christoph Wickert cwickert at fedoraproject.org
Sun May 6 09:13:14 UTC 2012


commit 56a3c220ff191c4068d9190d3f28ece61fbc024a
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun May 6 11:13:07 2012 +0200

    Create and own /var/lib/blueman (#818528)

 blueman.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/blueman.spec b/blueman.spec
index ae1a89b..33d68d1 100644
--- a/blueman.spec
+++ b/blueman.spec
@@ -5,7 +5,7 @@
 
 Name:           blueman
 Version:        1.23
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        GTK+ Bluetooth Manager
 
 Group:          Applications/System
@@ -96,6 +96,8 @@ desktop-file-install --vendor=""     \
  $RPM_BUILD_ROOT%{_datadir}/applications/blueman-manager.desktop
 %find_lang %{name}
 
+# we need to own this, not only because of SELinux
+mkdir $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -130,12 +132,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
 #%{_datadir}/hal/fdi/information/20thirdparty/11-blueman-bnep.fdi
 %{_mandir}/man1/*
+%{_localstatedir}/lib/%{name}
 
 %files nautilus
 %defattr(-,root,root,-)
 %{_libdir}/nautilus-sendto/plugins/libnstblueman.so
 
 %changelog
+* Sun May 06 2012 Christoph Wickert <cwickert at fedoraproject.org> - 1.23-2
+- Create and own /var/lib/blueman (#818528)
+
 * Thu Apr 26 2012 Christoph Wickert <cwickert at fedoraproject.org> - 1.23-1
 - Update to 1.23
 - Drop upstreamed PulseAudio patch


More information about the scm-commits mailing list