Fixed attribute issues, changed the default attribute to (root, bin).
--- a/ChangeLog Wed Dec 09 06:19:07 2009 +0000
+++ b/ChangeLog Wed Dec 09 06:38:11 2009 +0000
@@ -1,3 +1,17 @@
+2009-12-09 Dave Lin <[email protected]>
+
+ * SUNWgnome-wm.spec
+ * SUNWgnome-icon-theme.spec
+ * SUNWgnome-crash-report.spec
+ * SUNWopensolaris-backgrounds.spec
+ * SUNWgnome-backgrounds.spec
+ * SUNWgnome-themes-only.spec
+ * SUNWsun-backgrounds.spec
+ * SUNWgtk2-engines.spec
+ * SUNWtango-icon-theme.spec
+ Fixed attribute issues.
+ Changed the default attribute to (root, bin).
+
2009-12-09 Brian Lu <[email protected]>
* base-specs/thunderbird.spec:
--- a/SUNWgnome-backgrounds.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWgnome-backgrounds.spec Wed Dec 09 06:38:11 2009 +0000
@@ -65,12 +65,9 @@
%files
-%defattr(-, root, root)
+%defattr(-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
-%dir %attr (0755, root, bin) %{_datadir}/gnome-background-properties
%dir %attr (0755, root, other) %{_datadir}/pixmaps
-%dir %attr (0755, root, bin) %{_datadir}/pixmaps/backgrounds
-%dir %attr (0755, root, bin) %{_datadir}/pixmaps/backgrounds/gnome
%{_datadir}/gnome-background-properties/*.xml
%{_datadir}/pixmaps/backgrounds/gnome/nature/*.jpg
%{_datadir}/pixmaps/backgrounds/gnome/abstract/*.png
--- a/SUNWgnome-crash-report.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWgnome-crash-report.spec Wed Dec 09 06:38:11 2009 +0000
@@ -130,9 +130,9 @@
%{_bindir}/*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (-, root, other) %{_datadir}/icons
-%dir %attr (-, root, root) %{_datadir}/icons/HighContrastLargePrint
-%dir %attr (-, root, root) %{_datadir}/icons/HighContrastLargePrint/*
-%dir %attr (-, root, root) %{_datadir}/icons/HighContrastLargePrint/*/*
+%dir %attr (-, root, other) %{_datadir}/icons/HighContrastLargePrint
+%dir %attr (-, root, other) %{_datadir}/icons/HighContrastLargePrint/*
+%dir %attr (-, root, other) %{_datadir}/icons/HighContrastLargePrint/*/*
%{_datadir}/icons/HighContrastLargePrint/48x48/apps/bug-buddy.png
%dir %attr (-, root, other) %{_datadir}/icons/hicolor
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/*
--- a/SUNWgnome-icon-theme.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWgnome-icon-theme.spec Wed Dec 09 06:38:11 2009 +0000
@@ -66,8 +66,7 @@
%files
-%defattr(-, root, root)
-
+%defattr(-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/icons
%dir %attr (0755, root, other) %{_datadir}/icons/gnome
--- a/SUNWgnome-themes-only.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWgnome-themes-only.spec Wed Dec 09 06:38:11 2009 +0000
@@ -70,7 +70,7 @@
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-, root, root)
+%defattr(-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/icons
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast
@@ -90,7 +90,7 @@
%dir %attr (0755, root, other) %{_datadir}/doc
%files extra
-%defattr(-, root, root)
+%defattr(-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/icons
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrast
@@ -100,19 +100,18 @@
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastInverse/*/*/*
+%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastLargePrint
+%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastLargePrint/*
+%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastLargePrint/*/*
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastLargePrintInverse
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastLargePrintInverse/*
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastLargePrintInverse/*/*
%dir %attr (0755, root, other) %{_datadir}/icons/HighContrastLargePrintInverse/*/*/*
%{_datadir}/icons/HighContrast/*/*/*
%{_datadir}/icons/Crux/*
-%{_datadir}/icons/HighContrastLargePrint/*
+%{_datadir}/icons/HighContrastLargePrint/*/*/*
%{_datadir}/icons/Mist/*
%{_datadir}/icons/HighContrast-SVG/*
-%dir %attr (0755, root, bin) %{_datadir}/themes
-%dir %attr (0755, root, bin) %{_datadir}/themes/Clearlooks
-%dir %attr (0755, root, bin) %{_datadir}/themes/Crux
-%dir %attr (0755, root, bin) %{_datadir}/themes/Mist
%{_datadir}/icons/LargePrint/index.theme
%{_datadir}/themes/HighContrastInverse/index.theme
%{_datadir}/themes/HighContrastInverse/gtk-2.0/gtkrc
--- a/SUNWgnome-wm.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWgnome-wm.spec Wed Dec 09 06:38:11 2009 +0000
@@ -135,7 +135,6 @@
%{_datadir}/gnome/help/*
%{_datadir}/metacity/icons
#%{_datadir}/themes
-%dir %attr (0755, root, root) %{_datadir}/themes/Simple
%{_datadir}/gnome-control-center/keybindings
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/*
--- a/SUNWgtk2-engines.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWgtk2-engines.spec Wed Dec 09 06:38:11 2009 +0000
@@ -162,6 +162,7 @@
%doc(bzip2) -d %{base_arch} gtk-engines-%{engines.version}/po/ChangeLog
%files devel
+%defattr(-, root, bin)
%ifarch amd64 sparcv9
%endif
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
--- a/SUNWopensolaris-backgrounds.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWopensolaris-backgrounds.spec Wed Dec 09 06:38:11 2009 +0000
@@ -55,20 +55,16 @@
%files
-%defattr(-, root, root)
+%defattr(-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/pixmaps
-%dir %attr (0755, root, bin) %{_datadir}/gnome-background-properties
-%dir %attr (0755, root, bin) %{_datadir}/pixmaps/backgrounds
%{_datadir}/gnome-background-properties/opensolaris-backgrounds.xml
%{_datadir}/pixmaps/backgrounds/opensolaris/opensolaris-default.jpg
%files xtra
-%defattr(-, root, root)
+%defattr(-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
-%dir %attr (0755, root, bin) %{_datadir}/gnome-background-properties
%dir %attr (0755, root, other) %{_datadir}/pixmaps
-%dir %attr (0755, root, bin) %{_datadir}/pixmaps/backgrounds
%{_datadir}/pixmaps/backgrounds/opensolaris/clouds.jpg
%{_datadir}/pixmaps/backgrounds/opensolaris/rings.jpg
%{_datadir}/pixmaps/backgrounds/opensolaris/stream.jpg
--- a/SUNWsun-backgrounds.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWsun-backgrounds.spec Wed Dec 09 06:38:11 2009 +0000
@@ -65,10 +65,7 @@
%files
-%defattr(-, root, root)
-%dir %attr (0755, root, bin) %{_datadir}/gnome-background-properties
-%dir %attr (0755, root, bin) %{_datadir}/pixmaps/backgrounds/
-%dir %attr (0755, root, bin) %{_datadir}/pixmaps/backgrounds/sun
+%defattr(-, root, bin)
%{_datadir}/pixmaps/backgrounds/sun/*.png
%{_datadir}/pixmaps/backgrounds/sun/*.jpg
%{_datadir}/gnome-background-properties/sun-backgrounds.xml
--- a/SUNWtango-icon-theme.spec Wed Dec 09 06:19:07 2009 +0000
+++ b/SUNWtango-icon-theme.spec Wed Dec 09 06:38:11 2009 +0000
@@ -66,7 +66,7 @@
%files
-%defattr(-, root, root)
+%defattr(-, root, bin)
%{_datadir}/icons/Tango
%dir %attr (0755, root, sys) %{_datadir}