[blueman] rpmbuild wants explicit attibutes for %doc while the documenation claims attributes are optional. Hm

Christoph Wickert cwickert at fedoraproject.org
Sun May 6 10:20:35 UTC 2012


commit 032d298b1616c7fb918323726702c6ea3495c94d
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun May 6 12:20:26 2012 +0200

    rpmbuild wants explicit attibutes for %doc while the documenation claims attributes are optional. Hmmm

 blueman.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/blueman.spec b/blueman.spec
index 671004f..5715e3e 100644
--- a/blueman.spec
+++ b/blueman.spec
@@ -98,6 +98,7 @@ desktop-file-install --vendor=""     \
 
 # we need to own this, not only because of SELinux
 mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}
+touch $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}/network.state
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -133,7 +134,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 #%{_datadir}/hal/fdi/information/20thirdparty/11-blueman-bnep.fdi
 %{_mandir}/man1/*
 %{_sharedstatedir}/%{name}
-%ghost %{_sharedstatedir}/%{name}/network.state
+%ghost %attr(0644,root,root) %{_sharedstatedir}/%{name}/network.state
 
 %files nautilus
 %defattr(-,root,root,-)


More information about the scm-commits mailing list