SHA256
1
0
forked from cockpit/cockpit
Klaus Kämpf 2015-02-07 16:01:34 +00:00 committed by Git OBS Bridge
parent 68dfe24033
commit 228819a6b2

View File

@ -193,10 +193,8 @@ make install-test-assets DESTDIR=%{buildroot}
mkdir -p %{buildroot}/%{_datadir}/polkit-1/rules.d
cp src/bridge/polkit-workarounds.rules %{buildroot}/%{_datadir}/polkit-1/rules.d
%endif
%if !0%{?suse_version}
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
%endif
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
%if 0%{?suse_version}
install -d %{buildroot}%{_docdir}/%{name}
@ -267,9 +265,7 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html
%doc %{_mandir}/man5/cockpit.conf.5.gz
%doc %{_mandir}/man8/cockpit-ws.8.gz
%config(noreplace) %{_sysconfdir}/%{name}
%if !0%{?suse_version}
%config(noreplace) %{_sysconfdir}/pam.d/cockpit
%endif
%{_unitdir}/cockpit.service
%{_unitdir}/cockpit.socket
%if 0%{?suse_version}