resolves bz434626, bz436053

This commit is contained in:
Adam Stokes 2009-01-21 23:35:42 +00:00
parent cd7992d832
commit 33675f3969
2 changed files with 11 additions and 9 deletions

View File

@ -5,7 +5,7 @@
Summary: A set of tools to gather troubleshooting information from a system Summary: A set of tools to gather troubleshooting information from a system
Name: sos Name: sos
Version: 1.8 Version: 1.8
Release: 6%{?dist} Release: 9%{?dist}
Group: Application/Tools Group: Application/Tools
Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz
License: GPLv2+ License: GPLv2+
@ -31,30 +31,32 @@ support technicians and developers.
%install %install
rm -rf ${RPM_BUILD_ROOT} 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 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
ln -s /usr/sbin/sosreport $RPM_BUILD_ROOT/usr/sbin/sysreport ln -s /usr/sbin/sosreport $RPM_BUILD_ROOT/usr/sbin/sysreport
%find_lang %{name}
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
%files %files -f %{name}.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/rh-upload-core %{_bindir}/rh-upload-core
%{_sbindir}/sosreport %{_sbindir}/sosreport
%{_sbindir}/sysreport %{_sbindir}/sysreport
%{_sbindir}/sysreport.legacy %{_sbindir}/sysreport.legacy
/usr/share/sysreport %{_datadir}/%{name}
/usr/share/sos/rhsupport.pub %{_datadir}/sysreport
%{python_sitelib}/* %{python_sitelib}/*
%{_mandir}/man1/sosreport.1.gz %{_mandir}/man1/sosreport.1.gz
%{_localedir}/*/LC_MESSAGES/sos.mo
%doc README README.rh-upload-core TODO LICENSE ChangeLog %doc README README.rh-upload-core TODO LICENSE ChangeLog
%config %{_sysconfdir}/sos.conf %config %{_sysconfdir}/sos.conf
%changelog %changelog
* Mon Jan 12 2009 Adam Stokes <ajs at redhat dot com> - 1.8-6 * Wed Jan 21 2009 Adam Stokes <ajs at redhat dot com> - 1.8-9
- updated spec to include setuptools/egg file - Resolves: bz436053 /usr/share/sos is not owned by any package
- Resolves: bz434626 Wrong directory structure for translations
* Mon Dec 29 2008 Adam Stokes <ajs at redhat dot com> - 1.8-5 * Mon Dec 29 2008 Adam Stokes <ajs at redhat dot com> - 1.8-5
- removed source defines as python manifest handles this - removed source defines as python manifest handles this

View File

@ -1 +1 @@
04ad06ffb0bc24f96f5704c0c577aaf8 sos-1.8.tar.gz 75f91e5380dd1d31ccd6f7a2a9d242c4 sos-1.8.tar.gz