resolves bz434626, bz436053
This commit is contained in:
parent
cd7992d832
commit
33675f3969
18
sos.spec
18
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 <ajs at redhat dot com> - 1.8-6
|
||||
- updated spec to include setuptools/egg file
|
||||
* Wed Jan 21 2009 Adam Stokes <ajs at redhat dot com> - 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 <ajs at redhat dot com> - 1.8-5
|
||||
- removed source defines as python manifest handles this
|
||||
|
Loading…
Reference in New Issue
Block a user