Accepting request 1080403 from home:ojkastl_buildservice:Branch_devel_kubic
package sample files OBS-URL: https://build.opensuse.org/request/show/1080403 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/istioctl?expand=0&rev=7
This commit is contained in:
parent
fc5ecefa41
commit
7b028b526d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 12:10:36 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- package sample files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 05 04:41:53 UTC 2023 - kastl@b1-systems.de
|
Wed Apr 05 04:41:53 UTC 2023 - kastl@b1-systems.de
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ License: Apache-2.0
|
|||||||
URL: https://github.com/istio/istio
|
URL: https://github.com/istio/istio
|
||||||
Source: istio-%{version}.tar.gz
|
Source: istio-%{version}.tar.gz
|
||||||
Source1: vendor.tar.gz
|
Source1: vendor.tar.gz
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: go >= 1.19
|
BuildRequires: go >= 1.19
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -67,6 +68,14 @@ go build \
|
|||||||
# Install the binary.
|
# Install the binary.
|
||||||
install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
|
install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
|
||||||
|
|
||||||
|
# copy the sample files
|
||||||
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
|
cp -vr samples %{buildroot}%{_docdir}/%{name}
|
||||||
|
rm -f %{buildroot}%{_docdir}/%{name}/samples/bookinfo/src/reviews/.gitignore
|
||||||
|
rm -f %{buildroot}%{_docdir}/%{name}/samples/bookinfo/src/reviews/reviews-wlpcfg/shared/.gitkeep
|
||||||
|
rm -f %{buildroot}%{_docdir}/%{name}/samples/wasm_modules/header_injector/.gitignore
|
||||||
|
%fdupes %{buildroot}%{_docdir}/%{name}/samples/
|
||||||
|
|
||||||
# create the bash completion file
|
# create the bash completion file
|
||||||
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
|
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
|
||||||
%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
||||||
@ -79,6 +88,7 @@ mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
%{_docdir}/%{name}
|
||||||
|
|
||||||
%files -n %{name}-bash-completion
|
%files -n %{name}-bash-completion
|
||||||
%dir %{_datarootdir}/bash-completion/completions/
|
%dir %{_datarootdir}/bash-completion/completions/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user