From 276e3cc101f5aef5752117fb629147106f74a7205a1027dd1c06317c21f4689e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 18 Aug 2016 09:34:07 +0000 Subject: [PATCH] boo#994285 OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=196 --- emacs.changes | 5 +++++ emacs.spec | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/emacs.changes b/emacs.changes index 1cca75d..505d9f1 100644 --- a/emacs.changes +++ b/emacs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 18 09:30:13 UTC 2016 - werner@suse.de + +- Fix yaosdd report (boo#994285) + ------------------------------------------------------------------- Wed Aug 10 15:10:01 UTC 2016 - schwab@suse.de diff --git a/emacs.spec b/emacs.spec index bf4eb50..2bebcc3 100644 --- a/emacs.spec +++ b/emacs.spec @@ -596,7 +596,11 @@ rm -vf %{buildroot}%{_datadir}/emacs/%{version}/etc/emacs.desktop cp etc/images/icons/hicolor/32x32/apps/emacs.png $RPM_SOURCE_DIR/emacs.png %suse_update_desktop_file -r -i emacs TextEditor Utility %if 0%{suse_version} >= 1300 -touch %{buildroot}%{_bindir}/ctags %{buildroot}%{_mandir}/man1/ctags.1.gz +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +ln -sf %{_sysconfdir}/alternatives/ctags %{buildroot}%{_bindir}/ctags +ln -sf %{_sysconfdir}/alternatives/ctags.1.gz %{buildroot}%{_mandir}/man1/ctags.1.gz +ln -sf %{_bindir}/gnuctags %{buildroot}%{_sysconfdir}/alternatives/ctags +ln -sf %{_mandir}/man1/gnuctags.1.gz %{buildroot}%{_sysconfdir}/alternatives/ctags.1.gz %else rm -vf %{buildroot}%{_bindir}/etags rm -vf %{buildroot}%{_bindir}/gnuctags @@ -4635,7 +4639,9 @@ fi %{_mandir}/man1/etags.1.gz %{_mandir}/man1/gnuctags.1.gz %ghost %attr(755,root,root) %{_bindir}/ctags -%ghost %{_mandir}/man1/ctags.1.gz +%ghost %attr(755,root,root) %{_sysconfdir}/alternatives/ctags +%ghost %attr(644,root,root) %{_mandir}/man1/ctags.1.gz +%ghost %attr(644,root,root) %{_sysconfdir}/alternatives/ctags.1.gz %endif %changelog