Petr Lautrbach 2018-02-16 13:06:20 +01:00
parent a846604058
commit e7de89a4f9
1 changed files with 1 additions and 5 deletions

View File

@ -3,7 +3,6 @@ Name: setroubleshoot
Version: 3.3.16
Release: 0%{?dist}.30
License: GPLv2+
Group: Applications/System
URL: https://pagure.io/setroubleshoot
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
Source1: %{name}.tmpfiles
@ -73,8 +72,7 @@ dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.r
make
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
make DESTDIR=%{buildroot} PREFIX=/usr install
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}%{pkgvardatadir}
mkdir -p %{buildroot}%{_rundir}/setroubleshoot
@ -89,7 +87,6 @@ install -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
%package server
Summary: SELinux troubleshoot server
Group: Applications/System
Requires: %{name}-plugins >= 3.3.9
Requires: audit >= 1.2.6-3
@ -193,7 +190,6 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
%package legacy
Summary: SELinux troubleshoot legacy applet
Group: Applications/System
Requires: gtk2
Requires: %{name} = %{version}-%{release}