diff --git a/sos.spec b/sos.spec index 5eb83cb..15b1f8e 100644 --- a/sos.spec +++ b/sos.spec @@ -3,16 +3,19 @@ Summary: A set of tools to gather troubleshooting information from a system Name: sos Version: 1.9 -Release: 1%{?dist} +Release: 3%{?dist} 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: gettext Requires: libxml2-python -Requires: tar, bzip2, xz +Requires: tar +Requires: bzip2 +Requires: xz Provides: sysreport = 1.4.3-13 Obsoletes: sysreport @@ -26,34 +29,33 @@ support technicians and developers. %setup -q %build -%{__python} setup.py build +make %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} +make DESTDIR=${RPM_BUILD_ROOT} install +%find_lang %{name} || echo 0 %clean rm -rf ${RPM_BUILD_ROOT} %files -f %{name}.lang %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 -* Wed Feb 17 2010 Adam Stokes = 1.9-1 +* Fri Mar 26 2010 Adam Stokes = 1.9-3 +- fix setup.py to autocompile translations and man pages + +* Fri Mar 19 2010 Adam Stokes = 1.9-2 +- updated translations + +* Thu Mar 04 2010 Adam Stokes = 1.9-1 - version bump 1.9 - replaced compression utility with xz - strip threading/multiprocessing diff --git a/sources b/sources index d0b5afe..be0f7bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -69114b93abd2b148bfb13980c6c3c33e sos-1.9.tar.gz +e8158cb99e40eedbe745497d99fba446 sos-1.9.tar.gz