Bug 233816 - virt-manager: unowned directories
Summary: virt-manager: unowned directories
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Berrange
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords: EasyFix
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-25 10:18 UTC by Michael Schwendt
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2007-03-27 19:28:14 UTC


Attachments (Terms of Use)

Description Michael Schwendt 2007-03-25 10:18:35 UTC
--- virt-manager.spec.orig      2007-03-20 18:22:45.000000000 +0100
+++ virt-manager.spec   2007-03-25 12:17:10.000000000 +0200
@@ -131,9 +131,11 @@
 %{_bindir}/%{name}
 %{_sbindir}/%{name}
 %{_libexecdir}/%{name}-launch
-%{_libdir}/%{name}/*
+%{_libdir}/%{name}/
 
+%dir %{_datadir}/%{name}
 %{_datadir}/%{name}/*.glade
+%dir %{_datadir}/%{name}/pixmaps
 %{_datadir}/%{name}/pixmaps/*.png
 %{_datadir}/%{name}/pixmaps/*.svg
 
@@ -141,10 +143,12 @@
 %{_datadir}/%{name}/*.pyc
 %{_datadir}/%{name}/*.pyo
 
+%dir %{_datadir}/%{name}/virtManager
 %{_datadir}/%{name}/virtManager/*.py
 %{_datadir}/%{name}/virtManager/*.pyc
 %{_datadir}/%{name}/virtManager/*.pyo
 
+%dir %{_datadir}/%{name}/vncViewer
 %{_datadir}/%{name}/vncViewer/*.py
 %{_datadir}/%{name}/vncViewer/*.pyc
 %{_datadir}/%{name}/vncViewer/*.pyo

Comment 1 Michael Schwendt 2007-03-25 10:20:28 UTC
Alternatively, lazy packaging where /usr/share/virt-manager/ and
/usr/lib/virt-manager/ are included recursively including the
directory entries:

--- virt-manager.spec.orig      2007-03-20 18:22:45.000000000 +0100
+++ virt-manager.spec   2007-03-25 12:18:13.000000000 +0200
@@ -131,23 +131,9 @@
 %{_bindir}/%{name}
 %{_sbindir}/%{name}
 %{_libexecdir}/%{name}-launch
-%{_libdir}/%{name}/*
+%{_libdir}/%{name}/
 
-%{_datadir}/%{name}/*.glade
-%{_datadir}/%{name}/pixmaps/*.png
-%{_datadir}/%{name}/pixmaps/*.svg
-
-%{_datadir}/%{name}/*.py
-%{_datadir}/%{name}/*.pyc
-%{_datadir}/%{name}/*.pyo
-
-%{_datadir}/%{name}/virtManager/*.py
-%{_datadir}/%{name}/virtManager/*.pyc
-%{_datadir}/%{name}/virtManager/*.pyo
-
-%{_datadir}/%{name}/vncViewer/*.py
-%{_datadir}/%{name}/vncViewer/*.pyc
-%{_datadir}/%{name}/vncViewer/*.pyo
+%{_datadir}/%{name}/
 
 %{_datadir}/omf/%{name}
 %{_datadir}/gnome/help


Comment 2 Daniel Berrange 2007-03-27 19:28:14 UTC
Fixed in rawhide:

* Tue Mar 27 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.2-2.fc7
- Ensure we own all directories we create (bz 233816)


Note You need to log in before you can comment on or make changes to this bug.