diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-03-26 15:05:45 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-03-26 15:05:45 +0000 |
commit | 3422e6d25ae6de598c40973c6ed5258641bb53b6 (patch) | |
tree | cd0a6bfbd7f4aeec54b69b1520258e5eb97858a0 /sos.spec | |
parent | 3ba863b63b7d3a7755a3a82ba0555201e926a7ae (diff) | |
download | sos-3422e6d25ae6de598c40973c6ed5258641bb53b6.tar.gz |
build updates
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@870 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'sos.spec')
-rw-r--r-- | sos.spec | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -3,16 +3,20 @@ Summary: A set of tools to gather troubleshooting information from a system Name: sos Version: 1.9 -Release: 2%{?dist} +Release: 2%{?dist}.1 Group: Applications/System Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch Url: http://fedorahosted.org/sos -BuildRequires: python-devel, python-setuptools +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRequires: gettext Requires: libxml2-python -Requires: tar, bzip2, xz +Requires: tar +Requires: bzip2 +Requires: xz Provides: sysreport = 1.4.3-13 Obsoletes: sysreport @@ -31,10 +35,8 @@ support technicians and developers. %install rm -rf ${RPM_BUILD_ROOT} install -D -m644 gpgkeys/rhsupport.pub ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/rhsupport.pub -install -D -m644 extras/sysreport/sysreport.legacy ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/sysreport -%{__python} setup.py install -O1 --skip-build --root ${RPM_BUILD_ROOT} -ln -s /usr/sbin/sosreport ${RPM_BUILD_ROOT}/usr/sbin/sysreport -%find_lang %{name} +%{__python} setup.py install -O1 --root=${RPM_BUILD_ROOT} +%find_lang %{name} || echo 0 %clean rm -rf ${RPM_BUILD_ROOT} @@ -43,16 +45,16 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root,-) %{_bindir}/rh-upload %{_sbindir}/sosreport -%{_sbindir}/sysreport -%{_sbindir}/sysreport.legacy %{_datadir}/%{name} -%{_datadir}/sysreport %{python_sitelib}/* -%{_mandir}/man1/sosreport.1.gz -%doc README README.rh-upload TODO LICENSE ChangeLog docs/* +%{_mandir}/man1/* +%doc README README.rh-upload TODO LICENSE ChangeLog doc/* %config(noreplace) %{_sysconfdir}/sos.conf %changelog +* Fir Mar 26 2010 Adam Stokes <ajs at redhat dot com> = 1.9-3 +- fix setup.py to autocompile translations and man pages + * Fri Mar 19 2010 Adam Stokes <ajs at redhat dot com> = 1.9-2 - updated translations |