From ede4f55b3d13b17687720807074cbaf4de293f50 Mon Sep 17 00:00:00 2001 From: astokes Date: Wed, 21 Jan 2009 23:27:14 +0000 Subject: resolves bz434626 Wrong directory structure for translations resolves bz436053 /usr/share/sos is not owned by any package git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@551 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/sos.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/sos.spec') diff --git a/src/sos.spec b/src/sos.spec index cff1dc17..4e459c24 100644 --- a/src/sos.spec +++ b/src/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,28 +31,34 @@ 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 +#%{_localedir}/*/LC_MESSAGES %doc README README.rh-upload-core TODO LICENSE ChangeLog %config %{_sysconfdir}/sos.conf %changelog +* 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 -- cgit