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:
parent
0f6a8e0592
commit
8c6aa8cf9a
6
go.spec
6
go.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user