Accepting request 160617 from home:sumski:branches:devel:languages:go

- Drop the go-kate package, the syntax is already shipped with 
  libktexteditor package (see also sr#160616)

OBS-URL: https://build.opensuse.org/request/show/160617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=163
This commit is contained in:
Graham Anderson
2013-03-22 18:03:45 +00:00
committed by Git OBS Bridge
parent febae48ac5
commit 521b745e96
2 changed files with 9 additions and 18 deletions
+6
View File
@@ -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
+3 -18
View File
@@ -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 <saschpe@gmx.de>
#
# 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