diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2008-10-23 13:31:29 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2008-10-23 13:31:29 +0000 |
commit | 8d443ca846f670e971f09235ca792e45239f6f81 (patch) | |
tree | dc9caa0c9414fe876707162f53b4722b54f3cdf7 /src/sos.spec | |
parent | c5bf8bbac0c3c672d6bb22d0c54c9ab479abfde3 (diff) | |
download | sos-8d443ca846f670e971f09235ca792e45239f6f81.tar.gz |
sync
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@532 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sos.spec')
-rw-r--r-- | src/sos.spec | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/sos.spec b/src/sos.spec index 3b3f8534..c579ec1e 100644 --- a/src/sos.spec +++ b/src/sos.spec @@ -2,7 +2,7 @@ %define name sos %define version 1.8 -%define release 0pre2 +%define release 0 %define _localedir %_datadir/locale @@ -23,10 +23,8 @@ BuildArch: noarch Url: https://hosted.fedoraproject.org/projects/sos BuildRequires: python-devel Requires: libxml2-python -%if 0%{?rhel} Provides: sysreport = 1.4.3-13 Obsoletes: sysreport -%endif %description Sos is a set of tools that gathers information about system @@ -44,16 +42,7 @@ python setup.py build rm -rf ${RPM_BUILD_ROOT} install -D -m644 %{SOURCE1} ${RPM_BUILD_ROOT}/usr/share/sos/rhsupport.pub python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT - -%if 0%{?rhel} ln -s /usr/sbin/sosreport $RPM_BUILD_ROOT/usr/sbin/sysreport -%endif -%if ! 0%{?rhel} -rm -f $RPM_BUILD_ROOT/usr/sbin/sysreport.legacy -rm -f $RPM_BUILD_ROOT/usr/share/sysreport/functions -rm -f $RPM_BUILD_ROOT/usr/share/sysreport/sysreport-fdisk -rm -f $RPM_BUILD_ROOT/usr/share/sysreport/text.xsl -%endif %clean rm -rf ${RPM_BUILD_ROOT} @@ -63,11 +52,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sbindir}/sosreport /usr/share/sos/rhsupport.pub /usr/bin/rh-upload-core -%if 0%{?rhel} /usr/sbin/sysreport /usr/sbin/sysreport.legacy /usr/share/sysreport -%endif %{python_sitelib}/sos/ %{_mandir}/man1/sosreport.1* %{_localedir}/*/LC_MESSAGES/sos.mo |