forked from cockpit/cockpit
This commit is contained in:
parent
68dfe24033
commit
228819a6b2
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user