Skip to content

Commit

Permalink
Review package according to autobuild team revision
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Massaguer Pla <[email protected]>
  • Loading branch information
jordimassaguerpla authored and ereslibre committed Jun 19, 2019
1 parent 0df6699 commit dd97796
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ci/packaging/suse/skuba_spec_template
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%if %{undefined python3_sitelib}
%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%endif

%define go_project github.com/SUSE/skuba
Name: skuba
Expand All @@ -29,6 +32,9 @@ Patch0: 0001-Patch-out-load-balancer.patch
BuildRequires: go-go-md2man
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.11
BuildRequires: python3-setuptools
# Standard systemd requirements
BuildRequires: pkgconfig(systemd)
%{go_nostrip}
%{go_provides}

Expand All @@ -47,21 +53,15 @@ kubectl plugin that has the same layout as skuba. You can call to
the same commands presented in skuba as kubectl caasp when installing
the kubectl-caasp binary in your path.

%if %{undefined python3_sitelib}
%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%endif
%package update
Summary: Utility to automatically refresh and update a skuba cluster
Group: System/Management
BuildRequires: python3-setuptools
# Standard systemd requirements
BuildRequires: pkgconfig(systemd)
%{?systemd_requires}
Requires: python3-setuptools
Requires: zypper >= 1.14.15
Requires: lsof
BuildArch: noarch
Supplements: skuba
%{?systemd_requires}

%description update
Wraps zypper to refresh repositories and apply non interactive patches,
Expand Down

0 comments on commit dd97796

Please sign in to comment.