From 33675f39696fda3ea8f014b0e502bd9d72e50f4f Mon Sep 17 00:00:00 2001 From: Adam Stokes Date: Wed, 21 Jan 2009 23:35:42 +0000 Subject: [PATCH] resolves bz434626, bz436053 --- sos.spec | 18 ++++++++++-------- sources | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/sos.spec b/sos.spec index 282bec8..0828622 100644 --- a/sos.spec +++ b/sos.spec @@ -5,7 +5,7 @@ Summary: A set of tools to gather troubleshooting information from a system Name: sos Version: 1.8 -Release: 6%{?dist} +Release: 9%{?dist} Group: Application/Tools Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz License: GPLv2+ @@ -31,30 +31,32 @@ support technicians and developers. %install rm -rf ${RPM_BUILD_ROOT} -install -D -m644 gpgkeys/rhsupport.pub ${RPM_BUILD_ROOT}/usr/share/sos/rhsupport.pub +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} %clean rm -rf ${RPM_BUILD_ROOT} -%files +%files -f %{name}.lang %defattr(-,root,root,-) %{_bindir}/rh-upload-core %{_sbindir}/sosreport %{_sbindir}/sysreport %{_sbindir}/sysreport.legacy -/usr/share/sysreport -/usr/share/sos/rhsupport.pub +%{_datadir}/%{name} +%{_datadir}/sysreport %{python_sitelib}/* %{_mandir}/man1/sosreport.1.gz -%{_localedir}/*/LC_MESSAGES/sos.mo %doc README README.rh-upload-core TODO LICENSE ChangeLog %config %{_sysconfdir}/sos.conf %changelog -* Mon Jan 12 2009 Adam Stokes - 1.8-6 -- updated spec to include setuptools/egg file +* Wed Jan 21 2009 Adam Stokes - 1.8-9 +- Resolves: bz436053 /usr/share/sos is not owned by any package +- Resolves: bz434626 Wrong directory structure for translations * Mon Dec 29 2008 Adam Stokes - 1.8-5 - removed source defines as python manifest handles this diff --git a/sources b/sources index 9953632..77f80cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -04ad06ffb0bc24f96f5704c0c577aaf8 sos-1.8.tar.gz +75f91e5380dd1d31ccd6f7a2a9d242c4 sos-1.8.tar.gz