fix provides, %pre, %post, %preun, %postun

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=128
This commit is contained in:
Graham Anderson 2012-03-31 12:48:24 +00:00 committed by Git OBS Bridge
parent 0f6a8e0592
commit 8c6aa8cf9a

View File

@ -70,7 +70,7 @@ run-time reflection. It feels like a dynamic language but has the speed and
safety of a static language.
%package doc
Summary: Go documentation
Summary: Go documentationlAl
Group: Documentation/Other
Requires: %{name} = %{version}
@ -207,12 +207,12 @@ ln -s %{_datadir}/go/src/pkg/runtime/{cgocall,runtime}.h %{buildroot}%{_libdir}/
%preun
%if 0%{?suse_version} >= 1210
%service_add_preun godoc.service
%service_del_preun godoc.service
%endif
%postun
%if 0%{?suse_version} >= 1210
%service_add_postun godoc.service
%service_del_postun godoc.service
%endif
%files