Update Lanquages

- Use setup.py in Makefile for setroubleshoot dir
This commit is contained in:
Dan Walsh 2013-12-03 09:55:48 -05:00
parent 2918fb83ce
commit 417635d010

View File

@ -1,14 +1,13 @@
Summary: Helps troubleshoot SELinux problems Summary: Helps troubleshoot SELinux problems
Name: setroubleshoot Name: setroubleshoot
Version: 3.2.14 Version: 3.2.15
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: https://fedorahosted.org/setroubleshoot URL: https://fedorahosted.org/setroubleshoot
# git clone git://git.fedorahosted.org/git/setroubleshoot.git; cd 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 # git archive --prefix setroubleshoot-3.0.10/426cf8ea7a38e8c5179981219d831368161b65f2 > setroubleshoot-3.0.10.tar.gz
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
patch: setroubleshoot-po.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl-XML-Parser BuildRequires: perl-XML-Parser
BuildRequires: libcap-ng-devel BuildRequires: libcap-ng-devel
@ -28,9 +27,7 @@ Requires: notify-python
BuildRequires: xdg-utils BuildRequires: xdg-utils
Requires: xdg-utils Requires: xdg-utils
%global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") %global pkgpythondir %{python_sitearch}/%{name}
%global pkgpythondir %{python_sitelib}/%{name}
%define pkgguidir %{_datadir}/%{name}/gui %define pkgguidir %{_datadir}/%{name}/gui
%define pkgdatadir %{_datadir}/%{name} %define pkgdatadir %{_datadir}/%{name}
%define pkglibexecdir %{_prefix}/libexec/%{name} %define pkglibexecdir %{_prefix}/libexec/%{name}
@ -76,7 +73,6 @@ fi
%prep %prep
%setup -q %setup -q
%patch -p1 -b .badpo
%build %build
%configure %configure
@ -138,7 +134,7 @@ rm -rf %{buildroot}
%{_bindir}/sealert %{_bindir}/sealert
%{_sbindir}/sedispatch %{_sbindir}/sedispatch
%{_sbindir}/setroubleshootd %{_sbindir}/setroubleshootd
%{python_sitelib}/setroubleshoot*.egg-info %{python_sitearch}/setroubleshoot*.egg-info
%dir %attr(0755,root,root) %{pkgconfigdir} %dir %attr(0755,root,root) %{pkgconfigdir}
%dir %attr(0755,root,root) %{pkgpythondir} %dir %attr(0755,root,root) %{pkgpythondir}
%{pkgpythondir}/Plugin.py* %{pkgpythondir}/Plugin.py*
@ -178,6 +174,10 @@ rm -rf %{buildroot}
%{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service %{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service
%changelog %changelog
* Tue Dec 3 2013 Dan Walsh <dwalsh@redhat.com> - 3.2.15-1
- Update Lanquages
- Use setup.py in Makefile for setroubleshoot dir
* Wed Nov 20 2013 Dan Walsh <dwalsh@redhat.com> - 3.2.14-2 * Wed Nov 20 2013 Dan Walsh <dwalsh@redhat.com> - 3.2.14-2
- Add requires for libreport-python - Add requires for libreport-python