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
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
%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)