|
|
|
@ -1,14 +1,13 @@
|
|
|
|
|
Summary: Helps troubleshoot SELinux problems
|
|
|
|
|
Name: setroubleshoot
|
|
|
|
|
Version: 3.1.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 3.1.17
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
URL: https://fedorahosted.org/setroubleshoot
|
|
|
|
|
# git clone git://git.fedorahosted.org/git/setroubleshoot.git; cd setroubleshoot
|
|
|
|
|
# git archive --prefix setroubleshoot-3.0.10/426cf8ea7a38e8c5179981219d831368161b65f2 > setroubleshoot-3.0.10.tar.gz
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
Source2: setroubleshoot.logrotate
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
|
BuildRequires: libcap-ng-devel
|
|
|
|
@ -20,10 +19,9 @@ Requires: gtk2
|
|
|
|
|
Requires: dbus
|
|
|
|
|
Requires: dbus-python
|
|
|
|
|
Requires: pygobject2
|
|
|
|
|
Requires: report-gtk
|
|
|
|
|
Requires: libreport-gtk
|
|
|
|
|
Requires: polkit
|
|
|
|
|
Requires: yum
|
|
|
|
|
Requires: gnome-python2-gnomekeyring
|
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
|
Requires(post): dbus
|
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
@ -36,14 +34,11 @@ Requires: xdg-utils
|
|
|
|
|
%global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
|
|
|
|
|
|
|
|
|
%global pkgpythondir %{python_sitelib}/%{name}
|
|
|
|
|
%define pkgdocdir %{_datadir}/doc/%{name}-%{version}
|
|
|
|
|
%define pkgguidir %{_datadir}/%{name}/gui
|
|
|
|
|
%define pkgdatadir %{_datadir}/%{name}
|
|
|
|
|
%define pkglibexecdir %{_prefix}/libexec/%{name}
|
|
|
|
|
%define pkgvardatadir %{_localstatedir}/lib/%{name}
|
|
|
|
|
%define pkgrundir %{_localstatedir}/run/%{name}
|
|
|
|
|
%define pkgconfigdir %{_sysconfdir}/%{name}
|
|
|
|
|
%define pkglogdir %{_localstatedir}/log/%{name}
|
|
|
|
|
%global pkgdatabase %{pkgvardatadir}/setroubleshoot_database.xml
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -90,10 +85,10 @@ make
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
%{__install} -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
|
|
|
|
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
touch %{buildroot}%{pkgdatabase}
|
|
|
|
|
touch %{buildroot}%{pkgvardatadir}/email_alert_recipients
|
|
|
|
|
rm -rf %{buildroot}/usr/share/doc/
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%package server
|
|
|
|
@ -141,7 +136,6 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files server -f %{name}.lang
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc %{pkgdocdir}
|
|
|
|
|
%{_bindir}/sealert
|
|
|
|
|
%{_sbindir}/sedispatch
|
|
|
|
|
%{_sbindir}/setroubleshootd
|
|
|
|
@ -175,10 +169,7 @@ rm -rf %{buildroot}
|
|
|
|
|
%{pkgdatadir}/SetroubleshootFixit.py*
|
|
|
|
|
%{pkgdatadir}/updater.py*
|
|
|
|
|
%config(noreplace) %{pkgconfigdir}/%{name}.conf
|
|
|
|
|
%dir %{pkglogdir}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.Setroubleshootd.conf
|
|
|
|
|
%dir %{pkgrundir}
|
|
|
|
|
%dir %{pkgvardatadir}
|
|
|
|
|
%ghost %attr(0600,root,root) %{pkgdatabase}
|
|
|
|
|
%ghost %attr(0644,root,root) %{pkgvardatadir}/email_alert_recipients
|
|
|
|
@ -191,19 +182,63 @@ rm -rf %{buildroot}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.SetroubleshootFixit.conf
|
|
|
|
|
%{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Setroubleshoot documentation
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
Requires(pre): setroubleshoot-server = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
Setroubleshoot documentation package
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{pkgdocdir}/setroubleshoot*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 9 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.17-2
|
|
|
|
|
- Update Translations
|
|
|
|
|
|
|
|
|
|
* Thu Sep 20 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.17-1
|
|
|
|
|
- Update Translations
|
|
|
|
|
|
|
|
|
|
* Mon Aug 13 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.16-1
|
|
|
|
|
- Fix sealert to handle avc's in /var/log/messages which will be numbered 1400 and 1107 rather then AVC and USER_AVC
|
|
|
|
|
- Update Translations
|
|
|
|
|
- Fix hostname substitution to only effect hostnames
|
|
|
|
|
|
|
|
|
|
* Wed Jul 25 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.15-1
|
|
|
|
|
- More translation fixes.
|
|
|
|
|
|
|
|
|
|
* Wed Jul 25 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.14-1
|
|
|
|
|
- Fix Translations code to actually show translations
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.12-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 7 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.12-3
|
|
|
|
|
- Change requires to libreport-gtk instead of report-gtk
|
|
|
|
|
|
|
|
|
|
* Fri May 11 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.12-1
|
|
|
|
|
- Update translations
|
|
|
|
|
- Remove /var/log/setroubleshoot /run/setroubleshoot which are no longer used
|
|
|
|
|
|
|
|
|
|
* Wed May 9 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.11-1
|
|
|
|
|
- Update translations
|
|
|
|
|
- Only check for rpm on target process if is still exists
|
|
|
|
|
|
|
|
|
|
* Sat Mar 17 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.9-1
|
|
|
|
|
- Add file_types as a param to setroubleshoot.utils
|
|
|
|
|
- Update translations
|
|
|
|
|
|
|
|
|
|
* Tue Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.8-1
|
|
|
|
|
- Add missing lanquages, using lang supported by gtk
|
|
|
|
|
|
|
|
|
|
* Tue Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.7-1
|
|
|
|
|
- Add missing lanquages
|
|
|
|
|
|
|
|
|
|
* Thu Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.6-1
|
|
|
|
|
- Remove gnome-keyring requirement
|
|
|
|
|
|
|
|
|
|
* Thu Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.5-1
|
|
|
|
|
- Fix potential memory leak in setools
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
|
|
|
|
|
* Thu Mar 1 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.4-1
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
|
|
|
|
|
* Tue Feb 14 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.3-1
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
- Fix handling of avc messages, missing \n
|
|
|
|
|
- Default to check for AVC's on login
|
|
|
|
|
|
|
|
|
|
* Mon Jan 23 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.2-1
|
|
|
|
|
- Fix crash caused by switching to syslog, and update trans
|
|
|
|
|
|
|
|
|
|