diff options
author | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-08-02 14:27:28 +0000 |
---|---|---|
committer | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-08-02 14:27:28 +0000 |
commit | f21d141f346afce9f0dab6d9ebc246986311a048 (patch) | |
tree | d2fc4d2ffa2ba5ac37fe1914166eec1cc18276b1 /src/sos.spec | |
parent | e3ea9c416a9ec70769aee4f9bdcd3904cf8b49d2 (diff) | |
download | sos-f21d141f346afce9f0dab6d9ebc246986311a048.tar.gz |
Merged navid-dev r306 into the trunk
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@307 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sos.spec')
-rw-r--r-- | src/sos.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sos.spec b/src/sos.spec index 1c979f58..a8238f8f 100644 --- a/src/sos.spec +++ b/src/sos.spec @@ -2,7 +2,7 @@ %define name sos %define version 1.7 -%define release 3 +%define release 5 %define _localedir %_datadir/locale @@ -22,6 +22,7 @@ BuildArch: noarch Url: http://sos.108.redhat.com/ BuildRequires: python-devel Requires: libxml2-python +Obsoletes: sysreport %description Sos is a set of tools that gathers information about system @@ -38,6 +39,7 @@ python setup.py build %install rm -rf ${RPM_BUILD_ROOT} python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT +ln -s /usr/sbin/sosreport $RPM_BUILD_ROOT/usr/sbin/sysreport %clean rm -rf ${RPM_BUILD_ROOT} @@ -45,6 +47,7 @@ rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root,-) %{_sbindir}/sosreport +/usr/sbin/sysreport %{python_sitelib}/sos/ %{_mandir}/man1/sosreport.1* %{_localedir}/*/LC_MESSAGES/sos.mo |