Spec file cleanup
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
This commit is contained in:
parent
5fa4687faf
commit
b38f5c7b27
@ -3,7 +3,6 @@ Name: setroubleshoot
|
|||||||
Version: 3.3.15
|
Version: 3.3.15
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
|
||||||
URL: https://pagure.io/setroubleshoot
|
URL: https://pagure.io/setroubleshoot
|
||||||
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
|
Source0: https://releases.pagure.org/setroubleshoot/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.tmpfiles
|
Source1: %{name}.tmpfiles
|
||||||
@ -71,7 +70,6 @@ dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.r
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make DESTDIR=%{buildroot} PREFIX=/usr install
|
make DESTDIR=%{buildroot} PREFIX=/usr install
|
||||||
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||||
mkdir -p %{buildroot}%{pkgvardatadir}
|
mkdir -p %{buildroot}%{pkgvardatadir}
|
||||||
@ -87,7 +85,6 @@ install -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
|
|||||||
|
|
||||||
%package server
|
%package server
|
||||||
Summary: SELinux troubleshoot server
|
Summary: SELinux troubleshoot server
|
||||||
Group: Applications/System
|
|
||||||
|
|
||||||
Requires: %{name}-plugins >= 3.3.8
|
Requires: %{name}-plugins >= 3.3.8
|
||||||
Requires: audit >= 1.2.6-3
|
Requires: audit >= 1.2.6-3
|
||||||
@ -190,7 +187,6 @@ chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
|||||||
|
|
||||||
%package legacy
|
%package legacy
|
||||||
Summary: SELinux troubleshoot legacy applet
|
Summary: SELinux troubleshoot legacy applet
|
||||||
Group: Applications/System
|
|
||||||
|
|
||||||
Requires: gtk2
|
Requires: gtk2
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Loading…
Reference in New Issue
Block a user