]> git.pld-linux.org Git - packages/awesome.git/commitdiff
- do not override _sysconfdir. According to XDG Base Directory Specification 6 auto/th/awesome-3_4_2-1
authorpawelz <pawelz@pld-linux.org>
Thu, 26 Nov 2009 22:58:33 +0000 (22:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  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)

Changed files:
    awesome.spec -> 1.83

awesome.spec

index 374eab9e04d2c2a5b1022c5129ab004fbeb247a5..87db33c348f3e030e6b51f9ed5e2a54980b71748 100644 (file)
@@ -51,8 +51,6 @@ Obsoletes:    awesome-plugin-awful
 Obsoletes:     awesome-plugin-beautiful
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 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
 %description
 awesome is a highly configurable, next generation framework window
 manager for X. It is very fast, light and extensible. It is primarly
@@ -273,9 +271,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files example-config
 %defattr(644,root,root,755)
 
 %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)
 
 %files themes
 %defattr(644,root,root,755)
This page took 0.057894 seconds and 4 git commands to generate.