packages: awesome/awesome.spec - do not override _sysconfdir. According to ...

pawelz pawelz at pld-linux.org
Thu Nov 26 23:58:39 CET 2009


Author: pawelz                       Date: Thu Nov 26 22:58:39 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do not override _sysconfdir. According to XDG Base Directory Specification 6
  default xdg basedir is /etc/xdg, not /etc/X11/xdg. Moreover, awesome build
  with -DSYSCONFDIR=/etc/X11 still searches for its configuration in
  /etc/xdg/awesome.
- do not provide /etc/xdg directory
- mark config files as %config (this package is called example-config, but in
  fact it is default system-wide awesome configuration, wich is used unles
  overriden by user)

---- Files affected:
packages/awesome:
   awesome.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: packages/awesome/awesome.spec
diff -u packages/awesome/awesome.spec:1.82 packages/awesome/awesome.spec:1.83
--- packages/awesome/awesome.spec:1.82	Thu Nov 26 23:46:33 2009
+++ packages/awesome/awesome.spec	Thu Nov 26 23:58:33 2009
@@ -52,8 +52,6 @@
 Obsoletes:	awesome-plugin-beautiful
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_sysconfdir	/etc/X11
-
 %description
 awesome is a highly configurable, next generation framework window
 manager for X. It is very fast, light and extensible. It is primarly
@@ -274,9 +272,7 @@
 
 %files example-config
 %defattr(644,root,root,755)
-%dir %{_sysconfdir}/xdg
-%dir %{_sysconfdir}/xdg/awesome
-%{_sysconfdir}/xdg/awesome/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/awesome
 
 %files themes
 %defattr(644,root,root,755)
@@ -303,6 +299,16 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2009/11/26 22:58:33  pawelz
+- do not override _sysconfdir. According to XDG Base Directory Specification 6
+  default xdg basedir is /etc/xdg, not /etc/X11/xdg. Moreover, awesome build
+  with -DSYSCONFDIR=/etc/X11 still searches for its configuration in
+  /etc/xdg/awesome.
+- do not provide /etc/xdg directory
+- mark config files as %config (this package is called example-config, but in
+  fact it is default system-wide awesome configuration, wich is used unles
+  overriden by user)
+
 Revision 1.82  2009/11/26 22:46:33  pawelz
 - reverted workaround for broken rpm-build-macros (suggested by uzsolt)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/awesome/awesome.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list