Update to 0.70 release
- Depend on kubernetes-client instead of kubernetes
This commit is contained in:
parent
e6f81cd7eb
commit
21b0cf5928
1
.gitignore
vendored
1
.gitignore
vendored
@ -49,3 +49,4 @@
|
|||||||
/cockpit-0.67.tar.bz2
|
/cockpit-0.67.tar.bz2
|
||||||
/cockpit-0.68.tar.bz2
|
/cockpit-0.68.tar.bz2
|
||||||
/cockpit-0.69.tar.bz2
|
/cockpit-0.69.tar.bz2
|
||||||
|
/cockpit-0.70.tar.bz2
|
||||||
|
31
cockpit.spec
31
cockpit.spec
@ -4,12 +4,16 @@
|
|||||||
|
|
||||||
%define branding auto
|
%define branding auto
|
||||||
|
|
||||||
# Our SELinux policy gets built in tests and f21 and lower
|
|
||||||
%if %{defined gitcommit}
|
%if %{defined gitcommit}
|
||||||
%define extra_flags CFLAGS='-O2 -Wall -Werror -fPIC'
|
%define extra_flags CFLAGS='-O2 -Wall -Werror -fPIC'
|
||||||
%define selinux 1
|
|
||||||
%define branding default
|
%define branding default
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#Defaults for our SELinux policy toggle
|
||||||
|
%if %{undefined selinux}
|
||||||
|
%if %{defined gitcommit}
|
||||||
|
%define selinux 1
|
||||||
|
%endif
|
||||||
%if 0%{?fedora} > 0 && 0%{?fedora} <= 21
|
%if 0%{?fedora} > 0 && 0%{?fedora} <= 21
|
||||||
%define selinux 1
|
%define selinux 1
|
||||||
%endif
|
%endif
|
||||||
@ -19,6 +23,7 @@
|
|||||||
%if 0%{?centos}
|
%if 0%{?centos}
|
||||||
%define rhel 0
|
%define rhel 0
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%define _hardened_build 1
|
%define _hardened_build 1
|
||||||
|
|
||||||
@ -31,7 +36,7 @@ Name: cockpit
|
|||||||
%if %{defined gitcommit}
|
%if %{defined gitcommit}
|
||||||
Version: %{gitcommit}
|
Version: %{gitcommit}
|
||||||
%else
|
%else
|
||||||
Version: 0.69
|
Version: 0.70
|
||||||
%endif
|
%endif
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A user interface for Linux servers
|
Summary: A user interface for Linux servers
|
||||||
@ -76,7 +81,7 @@ BuildRequires: nodejs
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# For selinux
|
# For selinux
|
||||||
%if %{defined selinux}
|
%if 0%{?selinux}
|
||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
BuildRequires: checkpolicy
|
BuildRequires: checkpolicy
|
||||||
BuildRequires: selinux-policy-doc
|
BuildRequires: selinux-policy-doc
|
||||||
@ -174,14 +179,13 @@ The Cockpit Web Service listens on the network, and authenticates users.
|
|||||||
env NOCONFIGURE=1 ./autogen.sh
|
env NOCONFIGURE=1 ./autogen.sh
|
||||||
%endif
|
%endif
|
||||||
%configure --disable-static --disable-silent-rules --with-cockpit-user=cockpit-ws --with-branding=%{branding}
|
%configure --disable-static --disable-silent-rules --with-cockpit-user=cockpit-ws --with-branding=%{branding}
|
||||||
make -j1 %{?extra_flags} all
|
make -j %{?extra_flags} all
|
||||||
%if %{defined selinux}
|
%if 0%{?selinux}
|
||||||
make selinux
|
make selinux
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# The check doesnt run on koji as it requires network
|
make -j check
|
||||||
# make check
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
@ -196,7 +200,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
|
|||||||
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
|
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
|
||||||
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
|
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
|
||||||
install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/%{name}/
|
install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/%{name}/
|
||||||
%if %{defined selinux}
|
%if 0%{?selinux}
|
||||||
install -d %{buildroot}%{_datadir}/selinux/targeted
|
install -d %{buildroot}%{_datadir}/selinux/targeted
|
||||||
install -p -m 644 cockpit.pp %{buildroot}%{_datadir}/selinux/targeted/
|
install -p -m 644 cockpit.pp %{buildroot}%{_datadir}/selinux/targeted/
|
||||||
%endif
|
%endif
|
||||||
@ -361,7 +365,7 @@ This package is not yet complete.
|
|||||||
|
|
||||||
%package kubernetes
|
%package kubernetes
|
||||||
Summary: Cockpit user interface for Kubernetes cluster
|
Summary: Cockpit user interface for Kubernetes cluster
|
||||||
Requires: kubernetes >= 0.20.0
|
Requires: kubernetes-client >= 0.20.0
|
||||||
|
|
||||||
%description kubernetes
|
%description kubernetes
|
||||||
The Cockpit components for visualizing and configuring a Kubernetes
|
The Cockpit components for visualizing and configuring a Kubernetes
|
||||||
@ -401,7 +405,7 @@ pulls in some necessary packages via dependencies.
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{defined selinux}
|
%if 0%{?selinux}
|
||||||
|
|
||||||
%package selinux-policy
|
%package selinux-policy
|
||||||
Summary: SELinux policy for Cockpit testing
|
Summary: SELinux policy for Cockpit testing
|
||||||
@ -436,9 +440,12 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 12 2015 Stef Walter <stefw@redhat.com> - 0.70-1
|
||||||
|
- Update to 0.70 release
|
||||||
|
- Depend on kubernetes-client instead of kubernetes
|
||||||
|
|
||||||
* Thu Aug 06 2015 Stef Walter <stefw@redhat.com> - 0.69-1
|
* Thu Aug 06 2015 Stef Walter <stefw@redhat.com> - 0.69-1
|
||||||
- Update to 0.69 release.
|
- Update to 0.69 release.
|
||||||
- Require kubernetes 0.20.0 or later for cockpit-kubernetes
|
|
||||||
|
|
||||||
* Wed Jul 29 2015 Peter <petervo@redhat.com> - 0.68-1
|
* Wed Jul 29 2015 Peter <petervo@redhat.com> - 0.68-1
|
||||||
- Update to 0.68 release.
|
- Update to 0.68 release.
|
||||||
|
Loading…
Reference in New Issue
Block a user