- reverted move to /usr/etc/X11 for now (boo#1173053, comment#3)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xmodmap?expand=0&rev=13
This commit is contained in:
Stefan Dirsch 2020-09-08 09:57:50 +00:00 committed by Git OBS Bridge
parent d1090c2bef
commit 02d953641b
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 8 09:51:56 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- reverted move to /usr/etc/X11 for now (boo#1173053, comment#3)
-------------------------------------------------------------------
Sat Sep 5 01:22:15 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -16,6 +16,8 @@
#
%define UsrEtcMove 0
Name: xmodmap
Version: 1.0.10
Release: 0
@ -50,7 +52,7 @@ make %{?_smp_mflags}
%install
%make_install
%if 0%{?suse_version} >= 1550
%if 0%{?suse_version} >= 1550 && 0%{UsrEtcMove}
install -m0644 -D %{SOURCE1} %{buildroot}%{_distconfdir}/X11/Xmodmap
install -m0644 -D %{SOURCE2} %{buildroot}%{_distconfdir}/X11/Xmodmap.remote
%else
@ -61,7 +63,7 @@ install -m0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/X11/Xmodmap.remote
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README.md
%if 0%{?suse_version} >= 1550
%if 0%{?suse_version} >= 1550 && 0%{UsrEtcMove}
%dir %{_distconfdir}/X11
%{_distconfdir}/X11/Xmodmap
%{_distconfdir}/X11/Xmodmap.remote