diff --git a/go.changes b/go.changes index c186714..85d9f8c 100644 --- a/go.changes +++ b/go.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 22 15:33:35 UTC 2013 - hrvoje.senjan@gmail.com + +- Drop the go-kate package, the syntax is already shipped with + libktexteditor package + ------------------------------------------------------------------- Tue Nov 6 13:38:57 UTC 2012 - saschpe@suse.de diff --git a/go.spec b/go.spec index c323792..27fc17b 100644 --- a/go.spec +++ b/go.spec @@ -1,7 +1,7 @@ # # spec file for package go # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011, Sascha Peilicke # # All modifications and additions to the file contributed by third parties @@ -94,14 +94,6 @@ Requires: %{name} = %{version} %description emacs Emacs syntax highlighting scheme for the Go programming language. -%package kate -Summary: Go syntax files for Kate and KWrite editors -Group: Productivity/Text/Editors -Requires: %{name} = %{version} - -%description kate -Kate syntax highlighting scheme for the Go programming language. - %prep %setup -q -n %{name} %patch1 -p1 @@ -149,7 +141,6 @@ install -Dm644 misc/vim/plugin/godoc.vim %{buildroot}%{_datadir}/vim/site/plugin install -Dm644 misc/vim/syntax/godoc.vim %{buildroot}%{_datadir}/vim/site/syntax/godoc.vim install -Dm644 misc/vim/syntax/go.vim %{buildroot}%{_datadir}/vim/site/syntax/go.vim install -Dm644 misc/vim/ftdetect/gofiletype.vim %{buildroot}%{_datadir}/vim/site/ftdetect/gofiletype.vim -install -Dm644 misc/kate/go.xml %{buildroot}%{_datadir}/kde4/apps/katepart/syntax/go.xml # locations for third party libraries, see README-openSUSE for info about locations. install -d %{buildroot}%{_libdir}/go/contrib/pkg/linux_%{go_arch} @@ -188,6 +179,8 @@ rm -f misc/dashboard/builder/{gobuilder,*6,*.8} rm -f misc/goplay/{goplay,*.6,*.8} rm -rf misc/windows rm -rf misc/cgo/test/{_*,*.o,*.out,*.6,*.8} +# remove kate syntax file, it is shipped with libktexteditor already +rm -f misc/kate/go.xml # install RPM macros ($GOARCH prepared in %%prep section) install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go @@ -258,12 +251,4 @@ ln -s %{_datadir}/go/src/pkg/runtime/{cgocall,runtime}.h %{buildroot}%{_libdir}/ %defattr(-,root,root,-) %{_datadir}/emacs/site-lisp/go-mode* -%files kate -%defattr(-,root,root,-) -%dir %{_datadir}/kde4 -%dir %{_datadir}/kde4/apps -%dir %{_datadir}/kde4/apps/katepart -%dir %{_datadir}/kde4/apps/katepart/syntax -%{_datadir}/kde4/apps/katepart/syntax/go.xml - %changelog