Update to 0.16 release
This commit is contained in:
parent
699b733dc3
commit
720dfb2b82
21
cockpit.spec
21
cockpit.spec
@ -1,5 +1,5 @@
|
||||
Name: cockpit
|
||||
Version: 0.15
|
||||
Version: 0.16
|
||||
Release: 1%{?dist}
|
||||
Summary: A user interface for Linux servers
|
||||
|
||||
@ -73,7 +73,7 @@ This package contains the web assets used by Cockpit.
|
||||
rm -rf src/libgsystem/*.{c,doap}
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-silent-rules
|
||||
%configure --disable-static --disable-silent-rules --with-cockpit-user=cockpit-ws
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@ -104,22 +104,28 @@ rm -rf %{buildroot}%{_datadir}/cockpit-test-assets
|
||||
%{_unitdir}/cockpit.socket
|
||||
%{_prefix}/lib/firewalld/services/cockpit.xml
|
||||
%{_datadir}/dbus-1/services/com.redhat.Cockpit.service
|
||||
%{_sbindir}/remotectl
|
||||
%{_libexecdir}/cockpitd
|
||||
%{_libexecdir}/cockpit-ws
|
||||
%{_libexecdir}/cockpit-session
|
||||
%{_libexecdir}/cockpit-agent
|
||||
# HACK: We need to do attr because stripping debuginfo removes setuid
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=117858
|
||||
%attr(4755, -, -) %{_libexecdir}/cockpit-polkit
|
||||
%attr(4750, root, cockpit-ws) %{_libexecdir}/cockpit-session
|
||||
%{_libdir}/security/pam_reauthorize.so
|
||||
%{_sharedstatedir}/%{name}
|
||||
%attr(775, -, wheel) %{_sharedstatedir}/%{name}
|
||||
|
||||
%files assets
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%pre
|
||||
getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws
|
||||
getent group cockpit-user-admin >/dev/null || groupadd -r cockpit-user-admin
|
||||
getent group cockpit-realm-admin >/dev/null || groupadd -r cockpit-realm-admin
|
||||
getent group cockpit-storage-admin >/dev/null || groupadd -r cockpit-storage-admin
|
||||
getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d / -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws
|
||||
|
||||
%post
|
||||
chgrp wheel %{_sharedstatedir}/%{name}
|
||||
chmod 775 %{_sharedstatedir}/%{name}
|
||||
%systemd_post cockpit.service
|
||||
# firewalld only partially picks up changes to its services files without this
|
||||
test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
||||
@ -132,6 +138,9 @@ test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 17 2014 Stef Walter <stefw@redhat.com> 0.16-1
|
||||
- Update to 0.16 release
|
||||
|
||||
* Thu Jul 10 2014 Stef Walter <stefw@redhat.com> 0.15-1
|
||||
- Update to 0.15 release
|
||||
- Put pam_reauthorize.so in the cockpit PAM stack
|
||||
|
Loading…
Reference in New Issue
Block a user